summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-12-10 11:59:50 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-12-10 18:44:10 -0500
commit8f6e3118f57276a458b82482b0d277dee327413e (patch)
tree3e766d0d3d2597464a7a7fa58f788bf6fee0203b /sc/inc/dpobject.hxx
parentTypos (mainly "propably") (diff)
downloadcore-8f6e3118f57276a458b82482b0d277dee327413e.tar.gz
core-8f6e3118f57276a458b82482b0d277dee327413e.zip
Allow dumping of internal states of pivot table objects for debugging.
Change-Id: I5021ef61d9238da352e13bdd81a2f3607d0fb4aa
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 9bdb12346b13..309fab687957 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -406,6 +406,10 @@ public:
bool IntersectsTableByRows( SCCOL nCol, SCROW nRow1, SCROW nRow2, SCTAB nTab ) const;
bool HasTable( const ScRange& rRange ) const;
+#if DEBUG_PIVOT_TABLE
+ void DumpTables() const;
+#endif
+
private:
/** Only to be called from ScDPCache::RemoveReference(). */
void RemoveCache(const ScDPCache* pCache);