summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-01-23 22:40:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-27 03:19:13 +0000
commitd2982b9fd66f56553acd32bec806bafcdf8c8322 (patch)
tree92bf5dfda065670bab81b969a8f116c03f1ccfce /sc/source/core/data/table2.cxx
parente7debed56f5f037208e49233034ad8a578d1dfbc (diff)
resolved fdo#71598 postpone SetDirty during Insert/Delete
... until after all listeners are re-established. Change-Id: I9f6036d4bcc9206191959a88ed5439b9860ca268 (cherry picked from commit 20b7476142f75b49d10a75e48429a94cff0cec32) Reviewed-on: https://gerrit.libreoffice.org/7623 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r--sc/source/core/data/table2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 27233f77c94e..f96d913b2cc5 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1670,12 +1670,12 @@ void ScTable::SetDirtyAfterLoad()
}
-void ScTable::SetRelNameDirty()
+void ScTable::SetDirtyIfPostponed()
{
bool bOldAutoCalc = pDocument->GetAutoCalc();
pDocument->SetAutoCalc( false ); // Mehrfachberechnungen vermeiden
for (SCCOL i=0; i<=MAXCOL; i++)
- aCol[i].SetRelNameDirty();
+ aCol[i].SetDirtyIfPostponed();
pDocument->SetAutoCalc( bOldAutoCalc );
}