diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-12-04 10:10:12 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-12-04 10:10:12 +0000 |
| commit | 568092089e052882df7f160a3ba8bec9e275c437 (patch) | |
| tree | 666794c026a0ae898fd3de91ae9c5814848e6c47 /src/dom/xpathparser.cpp | |
| parent | German translation update (diff) | |
| download | inkscape-568092089e052882df7f160a3ba8bec9e275c437.tar.gz inkscape-568092089e052882df7f160a3ba8bec9e275c437.zip | |
cppcheck
(bzr r10759)
Diffstat (limited to 'src/dom/xpathparser.cpp')
| -rw-r--r-- | src/dom/xpathparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom/xpathparser.cpp b/src/dom/xpathparser.cpp index 5fd31c12a..f0e929687 100644 --- a/src/dom/xpathparser.cpp +++ b/src/dom/xpathparser.cpp @@ -467,7 +467,7 @@ int XPathParser::lexicalScan() { long op = (long)entry->ival; //according to the disambiguating rule for * in the spec - if (op == MULTIPLY && lexicalTokens.size() > 0) + if (op == MULTIPLY && !lexicalTokens.empty()) { int ltyp = lexTokType(lexicalTokens.size()-1); if (ltyp != AMPR && ltyp != DOUBLE_COLON && |
