summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-07 16:02:25 -0500
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-08 17:26:17 +0000
commit92fa709032696af2fa1d23184d1bde282f94ff9e (patch)
treea2abda504f2b62dc07c5a53bc4ebf127bbe40789
parentc565eba9ef96798c3b584c7c0f887f92cf9ae572 (diff)
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@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/data/column3.cxx4
1 files changed, 0 insertions, 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)