diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-18 22:56:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-19 00:30:12 -0400 |
commit | 2bc52ff76deccee1cab1808108b5e4b25c1cc644 (patch) | |
tree | 455eab2d57215d325e362236933d1ec4ab512231 /sc/inc | |
parent | a012bc60f2b3933d9148c2dd595df691a7834ad4 (diff) |
Remove debug statements..
Change-Id: I10e0ef90ea7bfd92b46a54dc3d3feff90e50f724
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpmacros.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dpresfilter.hxx | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/sc/inc/dpmacros.hxx b/sc/inc/dpmacros.hxx index ce91b06b63b0..79aafafe0f6d 100644 --- a/sc/inc/dpmacros.hxx +++ b/sc/inc/dpmacros.hxx @@ -29,7 +29,7 @@ #ifndef __SC_DPMACROS_HXX__ #define __SC_DPMACROS_HXX__ -#define DEBUG_PIVOT_TABLE 1 +#define DEBUG_PIVOT_TABLE 0 #if DEBUG_PIVOT_TABLE #include <iostream> diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx index 9d4617d08a7a..a151bd3da4bd 100644 --- a/sc/inc/dpresfilter.hxx +++ b/sc/inc/dpresfilter.hxx @@ -12,14 +12,10 @@ #include "dpitemdata.hxx" +#include <map> #include <vector> #include <boost/noncopyable.hpp> -#if DEBUG_PIVOT_TABLE -#include <map> -#endif - -#include <boost/unordered_map.hpp> namespace com { namespace sun { namespace star { namespace sheet { struct DataPilotFieldFilter; @@ -59,14 +55,8 @@ private: struct MemberNode; struct DimensionNode; -#if DEBUG_PIVOT_TABLE - // To keep the entries sorted in the tree dump. typedef std::map<ScDPItemData, MemberNode*> MembersType; typedef std::map<OUString, DimensionNode*> DimensionsType; -#else - typedef boost::unordered_map<ScDPItemData, MemberNode*, ScDPItemData::Hash> MembersType; - typedef boost::unordered_map<OUString, DimensionNode*, OUStringHash> DimensionsType; -#endif struct DimensionNode : boost::noncopyable { |