diff options
Diffstat (limited to 'src/rtfstyle.cpp')
-rw-r--r-- | src/rtfstyle.cpp | 4 |
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); |