summaryrefslogtreecommitdiff
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:53:21 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:53:21 +0900
commite36082fe64c84e4461802ec71428d5676a2c91e4 (patch)
tree66cb5624d3a27d2a3a1f1e53445bf262f825761e /src/plantuml.cpp
parentdcd93df0217323e30905987ff42937c10e512c1a (diff)
downloaddoxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.tar.gz
doxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.tar.bz2
doxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.zip
Imported Upstream version 1.8.12upstream/1.8.12
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index 7d28688..169968e 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -43,7 +43,7 @@ QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,con
{
err("Could not open file %s for writing\n",baseName.data());
}
- QCString text = "@startuml";
+ QCString text = "@startuml\n";
text+=content;
text+="@enduml\n";
file.writeBlock( text, text.length() );
@@ -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);