summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-10 18:32:03 (GMT)
committerGitHub <noreply@github.com>2019-01-10 18:32:03 (GMT)
commit141242a33ff7914595e08fcf1ea25f6993d55c64 (patch)
treec5a57912783611858aa654413c6c2ee545388508
parent16f12f29ef44cbab308c2a950bac68c0cd84fdf2 (diff)
parent3b0e8709ec16e681b8454f48729727d6d793ea78 (diff)
downloadDoxygen-141242a33ff7914595e08fcf1ea25f6993d55c64.zip
Doxygen-141242a33ff7914595e08fcf1ea25f6993d55c64.tar.gz
Doxygen-141242a33ff7914595e08fcf1ea25f6993d55c64.tar.bz2
Merge pull request #6762 from albert-github/feature/bug_no_plantuml
Don't write the plantuml cache file in case there are no plantuml diagrams.
-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);