summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-17 13:14:50 +0200
committerNoel Grandin <noel@peralex.com>2016-02-23 08:08:56 +0200
commitc45d3badc96481db093560b94d8bf51ead6bd17c (patch)
tree4bb6c9220678a12b327e46ca2acd01e77fc8e2c4 /xmloff
parent003d0ccf902d2449320dd24119564565a384f365 (diff)
new loplugin: commaoperator
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 5c90b159ecbc..77ff93c7913b 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -3281,7 +3281,8 @@ namespace xmloff { namespace token {
{
assert(nPos == static_cast<sal_uInt16>(pEntry->eToken));
// "xmloff::GetXMLToken: inconsistency in the token list!"
- ++pEntry, ++nPos;
+ ++pEntry;
+ ++nPos;
}
s_bChecked = true; // it's all static, checking once is enough
}