summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
commite90eb41e09adeb8970ef9a64fb8f163f068d7b17 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/latexgen.cpp
parentcd76bda7e377a14bd6b3d321425cf462a46a3f75 (diff)
downloadDoxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.zip
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.gz
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.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"))
{