diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-21 19:49:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-21 19:49:14 (GMT) |
commit | a59571d7ad956270bb6459c17e0268c2b745a55e (patch) | |
tree | 2188e2ce6e3c8297a37a3957c0519ff52cebcb5b /src/rtfdocvisitor.cpp | |
parent | fd72338cdf62e341d9846c6adf557175b30b760f (diff) | |
parent | a09ffed2f603699955c18c19e0d3e782fb61d93f (diff) | |
download | Doxygen-a59571d7ad956270bb6459c17e0268c2b745a55e.zip Doxygen-a59571d7ad956270bb6459c17e0268c2b745a55e.tar.gz Doxygen-a59571d7ad956270bb6459c17e0268c2b745a55e.tar.bz2 |
Merge pull request #297 from albert-github/feature/dot_index_png
Support generating index-color PNG files
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 3 |
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; |