diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-10-05 18:49:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-10-05 18:49:14 (GMT) |
commit | a139a43323607b05f0f749d3c7d8734bb7a47768 (patch) | |
tree | 358599c9b5f7120aab981ab203f8581dc71962d0 /src/xmlgen.cpp | |
parent | aaf87cb6d6601d665a06dc4556da4ce10c98e127 (diff) | |
download | Doxygen-a139a43323607b05f0f749d3c7d8734bb7a47768.zip Doxygen-a139a43323607b05f0f749d3c7d8734bb7a47768.tar.gz Doxygen-a139a43323607b05f0f749d3c7d8734bb7a47768.tar.bz2 |
Release-1.3.4-20031005
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 9498cdb..8db7993 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1257,9 +1257,12 @@ static void generateXMLForFile(FileDef *fd,QTextStream &ti) t << " <detaileddescription>" << endl; writeXMLDocBlock(t,fd->docFile(),fd->docLine(),fd,0,fd->documentation()); t << " </detaileddescription>" << endl; - t << " <programlisting>" << endl; - writeXMLCodeBlock(t,fd); - t << " </programlisting>" << endl; + if (Config_getBool("XML_PROGRAMLISTING")) + { + t << " <programlisting>" << endl; + writeXMLCodeBlock(t,fd); + t << " </programlisting>" << endl; + } t << " <location file=\"" << fd->getDefFileName() << "\"/>" << endl; t << " </compounddef>" << endl; t << "</doxygen>" << endl; |