summaryrefslogtreecommitdiffstats
path: root/src/rtfstyle.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
commit17ee30b327bf4f07f2411a50a46f5467456beacf (patch)
treeffd092e761289b417363c0562ceb9b93b88f19a4 /src/rtfstyle.cpp
parent0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff)
downloadDoxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2
Release-1.8.0-20120408
Diffstat (limited to 'src/rtfstyle.cpp')
-rw-r--r--src/rtfstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtfstyle.cpp b/src/rtfstyle.cpp
index 716cf2a..1c565e1 100644
--- a/src/rtfstyle.cpp
+++ b/src/rtfstyle.cpp
@@ -443,7 +443,7 @@ void loadStylesheet(const char *name, QDict<StyleData>& dict)
while (!t.eof())
{
QCString s(4096); // string buffer of max line length
- s = t.readLine().stripWhiteSpace();
+ s = t.readLine().stripWhiteSpace().utf8();
if (s.isEmpty() || s.at(0)=='#') continue; // skip blanks & comments
int sepLength;
int sepStart = separator.match(s,0,&sepLength);
@@ -490,7 +490,7 @@ void loadExtensions(const char *name)
while (!t.eof())
{
QCString s(4096); // string buffer of max line length
- s = t.readLine().stripWhiteSpace();
+ s = t.readLine().stripWhiteSpace().utf8();
if (s.length()==0 || s.at(0)=='#') continue; // skip blanks & comments
int sepLength;
int sepStart = separator.match(s,0,&sepLength);