[Libreoffice-commits] core.git: Branch 'libreoffice-4-2-0' - sc/source

Laurent Godard lgodard.libre at laposte.net
Sun Jan 12 15:25:51 PST 2014


 sc/source/core/data/column.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9dca1cab9deb35ff59fd003e1777eb466946a8b7
Author: Laurent Godard <lgodard.libre at 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.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at 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 at kohei.us>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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));


More information about the Libreoffice-commits mailing list