diff options
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 { |