summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2014-01-11 10:15:12 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-11 16:08:36 +0000
commit81c4f9c4f957a08eeaed3967260e3d700320f5de (patch)
tree7ec90baf89b3429d1b25949ff673918fd06c1080 /sc
parent697005cdb9adb375afb499beca68246251713578 (diff)
correct loops in UpdateNoteCaptions for notes
Change-Id: Icec072eea61a194d72ce00c58dfbd85b1ec85abb Reviewed-on: https://gerrit.libreoffice.org/7390 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 20ecc5b59d757307fbc9c3222af2a34ab8fb5bde) Reviewed-on: https://gerrit.libreoffice.org/7391
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index e852e1fd0db3..145f61a210ab 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2175,14 +2175,14 @@ void ScColumn::UpdateNoteCaptions()
sc::cellnote_block::const_iterator itData, itDataEnd;
SCROW curRow = 0;
- for (;itBlk==itBlkEnd;++itBlk)
+ for (;itBlk!=itBlkEnd;++itBlk)
{
if (itBlk->data)
{
// non empty block
itData = sc::cellnote_block::begin(*itBlk->data);
itDataEnd = sc::cellnote_block::end(*itBlk->data);
- for(;itData==itDataEnd; ++itData)
+ for(;itData!=itDataEnd; ++itData)
{
ScPostIt* pNote = *itData;
pNote->UpdateCaptionPos(ScAddress(nCol, curRow, nTab));