summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-01 12:05:36 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-05-01 12:05:36 (GMT)
commit22ce9444ca5c73c8a343685309c1812c7f8d263b (patch)
treeff40f0535e20dbecdb9c061e4d6b7b30a7a63625 /src/plantuml.cpp
parent65ad3c5747b855c34498f822a65e1492f1495983 (diff)
parent0dbc0d1c0b58bc06651137cd310a945a1db25151 (diff)
downloadDoxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.zip
Doxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.tar.gz
Doxygen-22ce9444ca5c73c8a343685309c1812c7f8d263b.tar.bz2
Merge branch 'feature/bug_startuml' of https://github.com/albert-github/doxygen into albert-github-feature/bug_startuml
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index a88289a..12e0fee 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -23,7 +23,7 @@
#include "fileinfo.h"
#include "dir.h"
-QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QCString &fileName,const QCString &content,OutputFormat format)
+QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QCString &fileName,const QCString &content,OutputFormat format, const QCString &engine)
{
QCString baseName;
QCString puName;
@@ -72,9 +72,9 @@ QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QC
Debug::print(Debug::Plantuml,0,"*** %s puName: %s\n","writePlantUMLSource",qPrint(puName));
Debug::print(Debug::Plantuml,0,"*** %s imgName: %s\n","writePlantUMLSource",qPrint(imgName));
- QCString text = "@startuml "+imgName+"\n";
+ QCString text = "@start"+engine+" "+imgName+"\n";
text+=content;
- text+="\n@enduml\n";
+ text+="\n@end"+engine+"\n";
QCString qcOutDir(outDir);
uint pos = qcOutDir.findRev("/");