From 0d208bc1c9a32718a93eb9911220ba72ad27fb9a Mon Sep 17 00:00:00 2001 From: hbccdf Date: Sat, 28 Mar 2015 21:24:22 +0800 Subject: [PATCH] Repair Doxygen generate invalid styleSheetFile and extensionsFile of RTF --- src/rtfgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 15c421ac75c..7baaa3c10de 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";