Skip to content

Commit

Permalink
Don't write the plantuml cache file in case there are no plantuml dia…
Browse files Browse the repository at this point in the history
…grams.
  • Loading branch information
albert-github committed Jan 10, 2019
1 parent 16f12f2 commit 3b0e870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plantuml.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 3b0e870

Please sign in to comment.