diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
commit | 88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/rtfgen.cpp | |
parent | 9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff) | |
download | Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.bz2 |
Release-1.2.8
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 8a8c31f..9e2213e 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -565,6 +565,10 @@ static void loadStylesheet(const char *name, QDict<StyleData>& dict) static const QRegExp separator("[ \t]*=[ \t]*"); uint lineNr=1; QTextStream t(&file); +#if QT_VERSION >= 200 + t.setEncoding(QTextStream::Latin1); +#endif + while (!t.eof()) { QCString s(4096); // string buffer of max line length @@ -663,6 +667,10 @@ static void loadExtensions(const char *name) static const QRegExp separator("[ \t]*=[ \t]*"); uint lineNr=1; QTextStream t(&file); +#if QT_VERSION >= 200 + t.setEncoding(QTextStream::Latin1); +#endif + while (!t.eof()) { QCString s(4096); // string buffer of max line length @@ -1806,7 +1814,8 @@ void RTFGenerator::endMemberDoc() newParagraph(); } -void RTFGenerator::startDoxyAnchor(const char *,const char *,const char *) +void RTFGenerator::startDoxyAnchor(const char *,const char *, + const char *,const char *) { } @@ -2593,6 +2602,9 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name) return FALSE; } QTextStream outt(&outf); +#if QT_VERSION >= 200 + outt.setEncoding(QTextStream::Latin1); +#endif if (!PreProcessFile(thisDir,mainRTFName,outt)) { |