summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-10 13:21:04 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-10 13:21:04 (GMT)
commit3b0e8709ec16e681b8454f48729727d6d793ea78 (patch)
treec5a57912783611858aa654413c6c2ee545388508 /src/plantuml.cpp
parent16f12f29ef44cbab308c2a950bac68c0cd84fdf2 (diff)
downloadDoxygen-3b0e8709ec16e681b8454f48729727d6d793ea78.zip
Doxygen-3b0e8709ec16e681b8454f48729727d6d793ea78.tar.gz
Doxygen-3b0e8709ec16e681b8454f48729727d6d793ea78.tar.bz2
Don't write the plantuml cache file in case there are no plantuml diagrams.
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index 6966100..ff4ebd3 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -325,6 +325,7 @@ static void runPlantumlContent(const QDict< QList <QCString> > &plantumlFiles,
void PlantumlManager::run()
{
Debug::print(Debug::Plantuml,0,"*** %s\n","PlantumlManager::run");
+ if (m_currentPlantumlAllContent.isEmpty()) return;
runPlantumlContent(m_pngPlantumlFiles, m_pngPlantumlContent, PUML_BITMAP);
runPlantumlContent(m_svgPlantumlFiles, m_svgPlantumlContent, PUML_SVG);
runPlantumlContent(m_epsPlantumlFiles, m_epsPlantumlContent, PUML_EPS);