From 92fa709032696af2fa1d23184d1bde282f94ff9e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 7 Feb 2014 16:02:25 -0500 Subject: 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 Reviewed-by: Markus Mohrhard --- sc/source/core/data/column3.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 4fdaf116abf6..13ee606901ea 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) -- cgit v1.2.3