summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-09-27 19:08:41 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-09-27 19:08:41 (GMT)
commit502e03dad20b333748d73fdea4cf6d7cb0ab31a8 (patch)
treecb1b7947527739f8652cc478c3307678761f6a69 /src/xmlgen.cpp
parenta0f637dcc6624b54f03cc17e765d5f5f7bc5bc70 (diff)
downloadDoxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.zip
Doxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.tar.gz
Doxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.tar.bz2
Fix for broken LaTeX output.
Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index c942a61..5cad4ed 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -346,7 +346,7 @@ void XMLCodeGenerator::startCodeFragment(const char *)
m_t << " <programlisting>" << endl;
}
-void XMLCodeGenerator::endCodeFragment()
+void XMLCodeGenerator::endCodeFragment(const char *)
{
m_t << " </programlisting>" << endl;
}
@@ -451,7 +451,7 @@ void writeXMLCodeBlock(FTextStream &t,FileDef *fd)
0, // memberDef
TRUE // showLineNumbers
);
- xmlGen->endCodeFragment();
+ xmlGen->endCodeFragment("DoxyCode");
xmlGen->finish();
delete xmlGen;
}