From 6072f27fecff80f6c2e78c44f61068495e61fb2c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 26 Nov 2010 21:35:36 +0000 Subject: cppcheck: use prefix variant --- unoxml/source/xpath/xpathapi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unoxml/source/xpath') diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx index 22307f4e52ae..aa83217797d1 100644 --- a/unoxml/source/xpath/xpathapi.cxx +++ b/unoxml/source/xpath/xpathapi.cxx @@ -134,7 +134,7 @@ namespace XPath p = (xmlChar*)oprefix.getStr(); u = (xmlChar*)ouri.getStr(); xmlXPathRegisterNs(ctx, p, u); - i++; + ++i; } } @@ -185,7 +185,7 @@ namespace XPath reinterpret_cast( sal::static_int_cast(aHandle.variableData))); } - i++; + ++i; } } -- cgit