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

Kohei Yoshida kohei.yoshida at collabora.com
Sat Feb 8 09:26:43 PST 2014


 sc/source/core/data/column3.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 92fa709032696af2fa1d23184d1bde282f94ff9e
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri Feb 7 16:02:25 2014 -0500

    fdo#74273: Let's not shift the note twice. Once is enough.
    
    The notes already are shifted at the top of the function.  We don't
    need this bottom one.
    
    Change-Id: I10858d937674e236eecbc42ee08bf6eba197755a
    (cherry picked from commit 8f60dd0223f8834224b196153f0d8601403d76dc)
    Reviewed-on: https://gerrit.libreoffice.org/7938
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 4fdaf11..13ee606 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -291,10 +291,6 @@ void ScColumn::DeleteRow( SCROW nStartRow, SCSIZE nSize )
     maCellTextAttrs.erase(nStartRow, nEndRow);
     maCellTextAttrs.resize(MAXROWCOUNT);
 
-    // Shift the cell notes array too (before the broadcast).
-    maCellNotes.erase(nStartRow, nEndRow);
-    maCellNotes.resize(MAXROWCOUNT);
-
     CellStorageModified();
 
     if (!bShiftCells)


More information about the Libreoffice-commits mailing list