summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-20 21:43:25 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-20 22:12:16 -0500
commit01e14bd403e749116844b6ab0b0a7afc66347e90 (patch)
tree25180d441c3a37b5fcbe22d0aca01f3545639bed /sc/inc
parent061e80fb866d7d6b2a7348ed6eb1852835857ec4 (diff)
Adjust InsertRow() for group area listeners.
Change-Id: I813b45d015eb1ae8dc7bd1242152ef734b5fe08c
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx5
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/inc/table.hxx6
3 files changed, 16 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index da940248f672..7c6b2cd0d3b8 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -665,6 +665,11 @@ private:
* column.
*/
std::vector<sc::FormulaGroupEntry> GetFormulaGroupEntries();
+
+ void EndListeningIntersectedGroups(
+ sc::EndListeningContext& rCxt, SCROW nRow1, SCROW nRow2, std::vector<ScAddress>* pGroupPos = NULL );
+
+ void SetNeedsListeningGroup( SCROW nRow );
};
#endif
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index ee43f2c97b1a..fcb92dc2e3fd 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2178,6 +2178,11 @@ private:
bool ReservePatternCount( SCTAB nTab, SCCOL nCol, SCSIZE nReserve );
void SharePooledResources( ScDocument* pSrcDoc );
+
+ void EndListeningIntersectedGroups(
+ sc::EndListeningContext& rCxt, const ScRange& rRange, std::vector<ScAddress>* pGroupPos = NULL );
+
+ void SetNeedsListeningGroups( const std::vector<ScAddress>& rPosArray );
};
#endif
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 04ebaa94d7d1..56af84199250 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1109,6 +1109,12 @@ private:
ScColumn* FetchColumn( SCCOL nCol );
const ScColumn* FetchColumn( SCCOL nCol ) const;
+ void EndListeningIntersectedGroups(
+ sc::EndListeningContext& rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
+ std::vector<ScAddress>* pGroupPos = NULL );
+
+ void SetNeedsListeningGroup( SCCOL nCol, SCROW nRow );
+
/**
* Use this to iterate through non-empty visible cells in a single column.
*/