summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorhbccdf <hbccdf@126.com>2015-03-28 13:24:22 (GMT)
committerhbccdf <hbccdf@126.com>2015-03-28 13:24:22 (GMT)
commit0d208bc1c9a32718a93eb9911220ba72ad27fb9a (patch)
tree54733d44820be7d85e4a2cdb55bc2533d2088c56 /src/rtfgen.cpp
parent15b93a26e99289cf0ac929e8a8fd64224f808460 (diff)
downloadDoxygen-0d208bc1c9a32718a93eb9911220ba72ad27fb9a.zip
Doxygen-0d208bc1c9a32718a93eb9911220ba72ad27fb9a.tar.gz
Doxygen-0d208bc1c9a32718a93eb9911220ba72ad27fb9a.tar.bz2
Repair Doxygen generate invalid styleSheetFile and extensionsFile of RTF
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 15c421a..7baaa3c 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -95,7 +95,7 @@ RTFGenerator::~RTFGenerator()
void RTFGenerator::writeStyleSheetFile(QFile &file)
{
- QTextStream t(&file);
+ FTextStream t(&file);
t << "# Generated by doxygen " << versionString << "\n\n";
t << "# This file describes styles used for generating RTF output.\n";
t << "# All text after a hash (#) is considered a comment and will be ignored.\n";
@@ -112,7 +112,7 @@ void RTFGenerator::writeStyleSheetFile(QFile &file)
void RTFGenerator::writeExtensionsFile(QFile &file)
{
- QTextStream t(&file);
+ FTextStream t(&file);
t << "# Generated by doxygen " << versionString << "\n\n";
t << "# This file describes extensions used for generating RTF output.\n";
t << "# All text after a hash (#) is considered a comment and will be ignored.\n";