diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-09-29 19:53:59 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-09-29 19:54:43 +0200 |
commit | 2b2246bb164ae58a39843218dcbcc425e4c38803 (patch) | |
tree | 0e609ae02f628c742291779082a957592f323c2e /svx | |
parent | 0ed0974298992ae871a8fbe79f856cf2588aeec6 (diff) |
cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I01999bc1283024bc4a1c380fd765a64b2da8a16a
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/SvxColorValueSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index cd98b5afdae1..299dc4a4cd23 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -91,7 +91,7 @@ void SvxColorValueSet::loadColorVector(const std::vector<Color>& rColorVector, c if(rNamePrefix.getLength() != 0) { for(std::vector<Color>::const_iterator it = rColorVector.begin(); - it != rColorVector.end(); it++, nStartIndex++) + it != rColorVector.end(); ++it, nStartIndex++) { InsertItem(nStartIndex, *it, rNamePrefix + OUString::number(nStartIndex)); } @@ -99,7 +99,7 @@ void SvxColorValueSet::loadColorVector(const std::vector<Color>& rColorVector, c else { for(std::vector<Color>::const_iterator it = rColorVector.begin(); - it != rColorVector.end(); it++, nStartIndex++) + it != rColorVector.end(); ++it, nStartIndex++) { InsertItem(nStartIndex, *it, ""); } |