summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
commitfee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/rtfgen.cpp
parentceb4115c7b941039411e1793e01239610ff112a2 (diff)
downloadDoxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 7abb929..b51245c 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -19,9 +19,9 @@
#include <stdlib.h>
-#include "qtbc.h"
#include <qdir.h>
#include <qregexp.h>
+#include <qtextstream.h>
#include "rtfgen.h"
#include "config.h"
@@ -39,6 +39,10 @@
#include "dirdef.h"
#include "vhdldocgen.h"
#include "portable.h"
+#include "groupdef.h"
+#include "classlist.h"
+#include "filename.h"
+#include "namespacedef.h"
//#define DBG_RTF(x) x;
#define DBG_RTF(x)
@@ -263,7 +267,7 @@ void RTFGenerator::beginRTFDocument()
}
if (array.at(index) != 0)
{
- QCString key(convertToQCString(iter.currentKey()));
+ QCString key(iter.currentKey());
msg("Style '%s' redefines \\s%d.\n", key.data(), index);
}
array.at(index) = style;
@@ -2564,7 +2568,7 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name)
err("error: Output dir %s does not exist!\n",path);
return FALSE;
}
- QCString oldDir = convertToQCString(QDir::currentDirPath());
+ QCString oldDir = QDir::currentDirPath().utf8();
// go to the html output directory (i.e. path)
QDir::setCurrent(d.absPath());