diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-23 18:24:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-23 22:27:41 -0400 |
commit | 32d3e6b2ecd379e348d298777f8ae74cbc07a061 (patch) | |
tree | 4d90565ffb6552a569bf277c8532649df61ca233 /sc/inc/dptabdat.hxx | |
parent | 7463dafd92a5153f4c67d1a6d91199d97a3aead1 (diff) |
Added dump methods to various classes to make debugging easier.
And a little code cleanup here and there...
Diffstat (limited to 'sc/inc/dptabdat.hxx')
-rw-r--r-- | sc/inc/dptabdat.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index 3951275712ac..b11e8927d34f 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -33,7 +33,8 @@ #include "dpoutput.hxx" #include "dpcachetable.hxx" #include "dpcache.hxx" -#include <tools/string.hxx> +#include "dpmacros.hxx" + #include "svl/zforlist.hxx" #include <vector> @@ -171,6 +172,11 @@ public: virtual SCROW GetIdOfItemData( long nDim, const ScDPItemData& rData ); virtual long GetSourceDim( long nDim ); virtual long Compare( long nDim, long nDataId1, long nDataId2); + +#if DEBUG_PIVOT_TABLE + virtual void Dump() const; +#endif + protected: /** This structure stores vector arrays that hold intermediate data for each row during cache table iteration. */ |