diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-03-05 13:49:05 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 11:13:29 -0500 |
commit | db60d94fc2ec8624653dddace5a934778fc2c7b4 (patch) | |
tree | 92d853aa4ac3bb4ff856d8b99296aa1541415d0d /sc/inc/dpitemdata.hxx | |
parent | At least pass all unit tests. (diff) | |
download | core-db60d94fc2ec8624653dddace5a934778fc2c7b4.tar.gz core-db60d94fc2ec8624653dddace5a934778fc2c7b4.zip |
Fix the result hierarchy construction. Still lots of places remain broken.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r-- | sc/inc/dpitemdata.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx index 01bb425f78b3..2fa8cba62ebf 100644 --- a/sc/inc/dpitemdata.hxx +++ b/sc/inc/dpitemdata.hxx @@ -40,6 +40,8 @@ #include <boost/unordered_map.hpp> +#define DEBUG_DP_ITEM_DATA 1 + class ScDocument; class SC_DLLPUBLIC ScDPItemData @@ -76,6 +78,7 @@ public: ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue); ~ScDPItemData(); + Type GetType() const; void SetString(const rtl::OUString& rS); void SetValue(double fVal); void SetGroupValue(sal_Int32 nGroupType, sal_Int32 nValue); @@ -97,6 +100,10 @@ public: bool HasStringData() const ; sal_uInt8 GetCellType() const; + +#if DEBUG_DP_ITEM_DATA + void Dump(const char* msg) const; +#endif }; #endif |