diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-11 19:20:29 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-11 19:20:29 (GMT) |
commit | 613b33d7ce00236865f41d77e4e39b37dcbef17b (patch) | |
tree | 7d80c173dcecb625806ece76ccd2210dca925e13 /src/xmlgen.cpp | |
parent | a29cfb7d102b893c56c1342fc738b788fc4885cf (diff) | |
download | Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.zip Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.gz Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.bz2 |
Release-1.2.11-20011111
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 9ff6199..463d16a 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -579,21 +579,21 @@ class XMLGenerator : public OutputDocInterface docify(text); m_t << "</formula>"; } - void startImage(const char *name,const char *size,bool caption) + void startImage(const char *name,const char *size,bool /*caption*/) { startParMode(); - m_t << "<image name=\"" << name << "\" size=\"" << size - << "\" caption=\"" << (caption ? "1" : "0") << "\">"; // non docbook + m_t << "<image name=\"" << name << "\""; + if (size) m_t << " size=\"" << size << "\""; + m_t << ">"; // non docbook } void endImage(bool) { m_t << "</image>"; } - void startDotFile(const char *name,bool caption) + void startDotFile(const char *name,bool /*caption*/) { startParMode(); - m_t << "<dotfile name=\"" << name << "\" " - << "caption=\"" << (caption ? "1" : "0") << "\">"; // non docbook + m_t << "<dotfile name=\"" << name << "\">"; // non docbook } void endDotFile(bool) { @@ -1176,9 +1176,9 @@ void generateXMLForFile(FileDef *fd,QTextStream &t) t << " <detaileddescription>" << endl; writeXMLDocBlock(t,fd->getDefFileName(),fd->getDefLine(),0,0,fd->documentation()); t << " </detaileddescription>" << endl; - t << " <sourcecode>" << endl; + t << " <programlisting>" << endl; writeXMLCodeBlock(t,fd); - t << " </sourcecode>" << endl; + t << " </programlisting>" << endl; t << " <location file=\"" << fd->getDefFileName() << "\" line=\"" << fd->getDefLine() << "\"/>" << endl; |