sc/source/core/data/column.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 20ecc5b59d757307fbc9c3222af2a34ab8fb5bde Author: Laurent Godard <lgodard.li...@laposte.net> Date: Sat Jan 11 10:15:12 2014 +0100 correct loops in UpdateNoteCaptions for notes Change-Id: Icec072eea61a194d72ce00c58dfbd85b1ec85abb Reviewed-on: https://gerrit.libreoffice.org/7390 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index e852e1f..145f61a 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)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits