diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-27 19:31:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-27 23:15:25 +0200 |
commit | 4a3cb4a7e9ff2e84ea29e3fe66dd8c92d4e5a50f (patch) | |
tree | 43ff4793cc40aac147635f581d5cfa6141353174 | |
parent | 3d6b2fb2cdfbe6c06af8138b443f44f1140e8af6 (diff) |
fix conditional format source position during insert/deleting tabs, tdf#107289
Change-Id: Idb177c9e4800681f5386dbc233b9166798a8fb72
Reviewed-on: https://gerrit.libreoffice.org/39320
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/core/data/conditio.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index eab769e70b0d..2256947ed7b7 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -36,6 +36,7 @@ #include "rangelst.hxx" #include "stlpool.hxx" #include "rangenam.hxx" +#include "rangeutl.hxx" #include "colorscale.hxx" #include "cellvalue.hxx" #include "editutil.hxx" @@ -627,7 +628,7 @@ void ScConditionEntry::UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt ) DELETEZ(pFCell2); } - StartListening(); + ScRangeUpdater::UpdateInsertTab(aSrcPos, rCxt); } void ScConditionEntry::UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt ) @@ -644,6 +645,7 @@ void ScConditionEntry::UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt ) DELETEZ(pFCell2); } + ScRangeUpdater::UpdateDeleteTab(aSrcPos, rCxt); StartListening(); } |