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-12 23:25:27 +0000 |
commit | 9dca1cab9deb35ff59fd003e1777eb466946a8b7 (patch) | |
tree | add9e8bd854212b38ef436cf0898a63ecec65ad0 | |
parent | b57238822a9c4fc2d798de4baade0f7677f710ac (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
(cherry picked from commit 81c4f9c4f957a08eeaed3967260e3d700320f5de)
Reviewed-on: https://gerrit.libreoffice.org/7392
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-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)); |