diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-20 21:43:25 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-20 21:44:13 -0500 |
commit | 535934edc13cc2045bd4e7e85acff1dce59bfe63 (patch) | |
tree | d6dd8fca35d4e07265d3d3909874df5d32de513c /sc/source/core/data/table7.cxx | |
parent | d84749f6208d179f12a7ad3fcc7d39d060017496 (diff) |
Adjust InsertRow() for group area listeners.
Change-Id: I813b45d015eb1ae8dc7bd1242152ef734b5fe08c
Diffstat (limited to 'sc/source/core/data/table7.cxx')
-rw-r--r-- | sc/source/core/data/table7.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sc/source/core/data/table7.cxx b/sc/source/core/data/table7.cxx index 79a645cbbf5e..f9e429a49f06 100644 --- a/sc/source/core/data/table7.cxx +++ b/sc/source/core/data/table7.cxx @@ -199,4 +199,23 @@ bool ScTable::HasFormulaCell( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 return false; } +void ScTable::EndListeningIntersectedGroups( + sc::EndListeningContext& rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, + std::vector<ScAddress>* pGroupPos ) +{ + if (nCol2 < nCol1 || !ValidCol(nCol1) || !ValidCol(nCol2)) + return; + + for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol) + aCol[nCol].EndListeningIntersectedGroups(rCxt, nRow1, nRow2, pGroupPos); +} + +void ScTable::SetNeedsListeningGroup( SCCOL nCol, SCROW nRow ) +{ + if (!ValidCol(nCol)) + return; + + aCol[nCol].SetNeedsListeningGroup(nRow); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |