summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
commit88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/latexgen.cpp
parent9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff)
downloadDoxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.bz2
Release-1.2.8
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index e176192..e21e7d8 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -390,21 +390,20 @@ void LatexGenerator::writeHeaderFile(QFile &f)
void LatexGenerator::writeStyleSheetFile(QFile &f)
{
QTextStream t(&f);
+#if QT_VERSION >= 200
+ t.setEncoding(QTextStream::Latin1);
+#endif
+
writeDefaultStyleSheetPart1(t);
QCString &projectName = Config_getString("PROJECT_NAME");
- t << "Generated at " << dateToString(TRUE);
- if (projectName.isEmpty())
- {
- t << " for " << projectName << " ";
- }
- t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001";
+
+ t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName );
+ t << " doxygen " << theTranslator->trWrittenBy() << " ";
+ t << "Dimitri van Heesch \\copyright~1997-2001";
writeDefaultStyleSheetPart2(t);
- t << "Generated at " << dateToString(TRUE);
- if (projectName.isEmpty())
- {
- t << " for " << projectName << " ";
- }
- t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001";
+ t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName );
+ t << " doxygen " << theTranslator->trWrittenBy() << " ";
+ t << "Dimitri van Heesch \\copyright~1997-2001";
writeDefaultStyleSheetPart3(t);
}
@@ -1096,8 +1095,8 @@ void LatexGenerator::endMemberDoc()
if (Config_getBool("COMPACT_LATEX")) t << "\\hfill";
}
-void LatexGenerator::startDoxyAnchor(const char *fName,const char *anchor,
- const char *)
+void LatexGenerator::startDoxyAnchor(const char *fName,const char *,
+ const char *anchor, const char *)
{
if (Config_getBool("PDF_HYPERLINKS"))
{