summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
commit624a187c926b69bdfc11fca8e929b71938b28eff (patch)
tree340cca67808f566b0c458391835834e717e26a61 /src/rtfdocvisitor.cpp
parente2bafacf8c0f6ef0dd7f9f4958a125761bda31ec (diff)
downloadDoxygen-624a187c926b69bdfc11fca8e929b71938b28eff.zip
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.gz
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.bz2
Release-1.4.4-20050806
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r--src/rtfdocvisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index ab2b6ac..1989800 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -404,7 +404,7 @@ void RTFDocVisitor::visit(DocInclude *inc)
m_t << rtf_Style_Reset << getStyle("CodeExample");
QFileInfo cfi( inc->file() );
FileDef fd( cfi.dirPath(), cfi.fileName() );
- Doxygen::parserManager->getParser(m_langExt)
+ Doxygen::parserManager->getParser(inc->extension())
->parseCode(m_ci,inc->context(),
inc->text().latin1(),
inc->isExample(),
@@ -417,7 +417,7 @@ void RTFDocVisitor::visit(DocInclude *inc)
m_t << "{" << endl;
m_t << "\\par" << endl;
m_t << rtf_Style_Reset << getStyle("CodeExample");
- Doxygen::parserManager->getParser(m_langExt)
+ Doxygen::parserManager->getParser(inc->extension())
->parseCode(m_ci,inc->context(),
inc->text().latin1(),inc->isExample(),
inc->exampleFile());