diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:35:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:47:19 +0000 |
commit | 6072f27fecff80f6c2e78c44f61068495e61fb2c (patch) | |
tree | b117052dc0d786054e5d64e871bed61628680782 /unoxml/source/xpath | |
parent | 29787597d3fd798cbcc8d08f29c3609f9aab7113 (diff) |
cppcheck: use prefix variant
Diffstat (limited to 'unoxml/source/xpath')
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<void*>( sal::static_int_cast<sal_IntPtr>(aHandle.variableData))); } - i++; + ++i; } } |