summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-13 14:16:51 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-13 16:23:26 +0100
commit077723111292ea615437f3bc2f1e47cf77d7ad42 (patch)
treef851f81cea82fcbf8251f8418b3f2a26f3085f64 /sc
parent386a85ed50a3e4832644072950a30304ba6c58a6 (diff)
V803 decreased performance postfix increment
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dociter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 6ab77bc304be..46690d7f4bf1 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -2029,7 +2029,7 @@ bool ScHorizontalCellIterator::SkipInvalidInRow()
{
debugiter("skip empty cells at column %d, row %d\n",
(int)maColPos->mnCol, (int)nRow);
- maColPos++;
+ ++maColPos;
}
}
@@ -2068,7 +2068,7 @@ void ScHorizontalCellIterator::Advance()
assert (mbMore);
assert (maColPos != maColPositions.end());
- maColPos++;
+ ++maColPos;
SkipInvalid();
}