summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-01-17 12:06:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-01-17 15:04:33 (GMT)
commita93ec7221d1a258f0268e0c081782478372efe0b (patch)
tree5f7e41dd02582a699a6f6f6540c463c5d168983e /src/plantuml.cpp
parent4dfc5887660284b345eb93b6c07dc1f91e780fac (diff)
downloadDoxygen-a93ec7221d1a258f0268e0c081782478372efe0b.zip
Doxygen-a93ec7221d1a258f0268e0c081782478372efe0b.tar.gz
Doxygen-a93ec7221d1a258f0268e0c081782478372efe0b.tar.bz2
Changed configuration mechanism to directly access options in order to improve performance
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index 7d28688..288cbc0 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -53,12 +53,12 @@ QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,con
void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutputFormat format)
{
- static QCString plantumlJarPath = Config_getString("PLANTUML_JAR_PATH");
+ static QCString plantumlJarPath = Config_getString(PLANTUML_JAR_PATH);
QCString pumlExe = "java";
QCString pumlArgs = "";
- QStrList &pumlIncludePathList = Config_getList("PLANTUML_INCLUDE_PATH");
+ QStrList &pumlIncludePathList = Config_getList(PLANTUML_INCLUDE_PATH);
char *s=pumlIncludePathList.first();
if (s)
{
@@ -106,12 +106,12 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
err("Problems running PlantUML. Verify that the command 'java -jar \"%splantuml.jar\" -h' works from the command line. Exit code: %d\n",
plantumlJarPath.data(),exitCode);
}
- else if (Config_getBool("DOT_CLEANUP"))
+ else if (Config_getBool(DOT_CLEANUP))
{
QFile(QCString(baseName)+".pu").remove();
}
portable_sysTimerStop();
- if ( (format==PUML_EPS) && (Config_getBool("USE_PDFLATEX")) )
+ if ( (format==PUML_EPS) && (Config_getBool(USE_PDFLATEX)) )
{
QCString epstopdfArgs(maxCmdLine);
epstopdfArgs.sprintf("\"%s.eps\" --outfile=\"%s.pdf\"",baseName,baseName);