diff options
author | Laurent Godard <lgodard.libre@laposte.net> | 2014-01-11 10:15:12 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-11 16:07:56 +0000 |
commit | 20ecc5b59d757307fbc9c3222af2a34ab8fb5bde (patch) | |
tree | 7cc039302d7ce523b6361057f284f7f8da0995f0 /sc/source | |
parent | 90f194ea050db6e9414e0047282ce87a67735d82 (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>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/column.cxx | 4 |
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)); |