From 2633767789e4264b13ef91a684accf734fb4e94f Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 26 Oct 2011 21:55:51 -0700 Subject: Fixing more broken and split doc comments. (bzr r10697) --- src/dom/xpathparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dom/xpathparser.cpp') diff --git a/src/dom/xpathparser.cpp b/src/dom/xpathparser.cpp index bbe0fcc40..5fd31c12a 100644 --- a/src/dom/xpathparser.cpp +++ b/src/dom/xpathparser.cpp @@ -1,4 +1,4 @@ -/** +/* * Phoebe DOM Implementation. * * This is a C++ approximation of the W3C DOM model, which follows -- cgit v1.2.3 From 568092089e052882df7f160a3ba8bec9e275c437 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sun, 4 Dec 2011 11:10:12 +0100 Subject: cppcheck (bzr r10759) --- src/dom/xpathparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dom/xpathparser.cpp') 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 && -- cgit v1.2.3