diff options
Diffstat (limited to 'src/rtfstyle.cpp')
-rw-r--r-- | src/rtfstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfstyle.cpp b/src/rtfstyle.cpp index 074872e..950b4ba 100644 --- a/src/rtfstyle.cpp +++ b/src/rtfstyle.cpp @@ -442,7 +442,7 @@ void loadStylesheet(const char *name, QDict<StyleData>& dict) { QCString s(4096); // string buffer of max line length s = t.readLine().stripWhiteSpace(); - if (s.length()==0 || s.at(0)=='#') continue; // skip blanks & comments + if (s.isEmpty() || s.at(0)=='#') continue; // skip blanks & comments int sepLength; int sepStart = separator.match(s,0,&sepLength); if (sepStart<=0) // no valid assignment statement |