summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2015-01-15 20:49:36 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2015-01-15 20:53:16 -0500
commit4c93c341be1425401112eed3581e8b8a6308880d (patch)
tree55e6672f97b4b6f8588d94c70f3a23337b74e653 /sc/inc
parented33b94930c42968ab047602a07e5aa5eda3b99c (diff)
fdo#88398: Handle group listeners correctly when splitting formula group.
It's basically the same thing we do in ScDocument::DeleteArea(), implemented in ScDocument::SetValue() and SetString(). Change-Id: Ifcae31aaef0e00ed8659aa5e2b9b8e206dc1a099
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx3
-rw-r--r--sc/inc/document.hxx3
-rw-r--r--sc/inc/table.hxx3
3 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index f36f7fc4a60c..1911a9535e24 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -704,6 +704,9 @@ private:
*/
std::vector<sc::FormulaGroupEntry> GetFormulaGroupEntries();
+ void EndListeningIntersectedGroup(
+ sc::EndListeningContext& rCxt, SCROW nRow, std::vector<ScAddress>* pGroupPos = NULL );
+
void EndListeningIntersectedGroups(
sc::EndListeningContext& rCxt, SCROW nRow1, SCROW nRow2, std::vector<ScAddress>* pGroupPos = NULL );
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index ddf427d32f26..baf8c9c42f2a 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2210,6 +2210,9 @@ private:
void SharePooledResources( ScDocument* pSrcDoc );
+ void EndListeningIntersectedGroup(
+ sc::EndListeningContext& rCxt, const ScAddress& rPos, std::vector<ScAddress>* pGroupPos = NULL );
+
void EndListeningIntersectedGroups(
sc::EndListeningContext& rCxt, const ScRange& rRange, std::vector<ScAddress>* pGroupPos = NULL );
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 88a046131475..3ad7162c6e7e 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1128,6 +1128,9 @@ private:
ScColumn* FetchColumn( SCCOL nCol );
const ScColumn* FetchColumn( SCCOL nCol ) const;
+ void EndListeningIntersectedGroup(
+ sc::EndListeningContext& rCxt, SCCOL nCol, SCROW nRow, std::vector<ScAddress>* pGroupPos = NULL );
+
void EndListeningIntersectedGroups(
sc::EndListeningContext& rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
std::vector<ScAddress>* pGroupPos = NULL );