summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-02-21 20:04:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-02-21 20:04:12 (GMT)
commit725055fcd49230398f0db2a19edcb5bb5bcfd760 (patch)
tree1b7f5f6437893d6da2c490c56a32f6299ccfa771 /src/rtfdocvisitor.cpp
parent8f67d4f63efd45b0d38502bdf68987d7fc1e92e9 (diff)
parenta59571d7ad956270bb6459c17e0268c2b745a55e (diff)
downloadDoxygen-725055fcd49230398f0db2a19edcb5bb5bcfd760.zip
Doxygen-725055fcd49230398f0db2a19edcb5bb5bcfd760.tar.gz
Doxygen-725055fcd49230398f0db2a19edcb5bb5bcfd760.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r--src/rtfdocvisitor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 20fbf53..7c7f607 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -1676,7 +1676,8 @@ void RTFDocVisitor::writeDotFile(const QCString &fileName)
m_t << "{" << endl;
m_t << rtf_Style_Reset;
m_t << "\\pard \\qc {\\field\\flddirty {\\*\\fldinst INCLUDEPICTURE \"";
- m_t << baseName << "." << Config_getEnum("DOT_IMAGE_FORMAT");
+ QCString imgExt = getDotImageExtension();
+ m_t << baseName << "." << imgExt;
m_t << "\" \\\\d \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
m_t << "}" << endl;
m_lastIsPara=TRUE;