summaryrefslogtreecommitdiff
path: root/sc/source/core/tool
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-19 13:40:09 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-21 20:56:37 -0500
commita70a2b9ae96b5a9f0414c6bb9a84bdd259ff76c5 (patch)
treea346e10c5c0de70a5a72eb812d4969ed6502575e /sc/source/core/tool
parent7feda69016fc42b889dfc5b8de088bbca36ba931 (diff)
Dump formula group listener info.
Change-Id: Idbad1451393c42c272465907312c64c65eba9525 (cherry picked from commit 5dd60299c668cd36cc5cc5e8bd5b162e1fc9ef13)
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r--sc/source/core/tool/grouparealistener.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx
index 639219244280..e93d2fc92364 100644
--- a/sc/source/core/tool/grouparealistener.cxx
+++ b/sc/source/core/tool/grouparealistener.cxx
@@ -219,6 +219,19 @@ void FormulaGroupAreaListener::collectFormulaCells(
}
}
+#if DEBUG_AREA_BROADCASTER
+ScAddress FormulaGroupAreaListener::getTopCellPos() const
+{
+ const ScFormulaCell& rFC = **mppTopCell;
+ return rFC.aPos;
+}
+
+SCROW FormulaGroupAreaListener::getGroupLength() const
+{
+ return mnGroupLen;
+}
+#endif
+
void FormulaGroupAreaListener::notifyCellChange( const SfxHint& rHint, const ScAddress& rPos )
{
// Determine which formula cells within the group need to be notified of this change.