diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 17:07:50 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 17:15:57 +0100 |
commit | 2c17beb796a29e7d160522a800e647ddd7a8b2b3 (patch) | |
tree | c1dc2f1eef07215af8fc9343556ba945c7608f1f /sax | |
parent | e03d9e97a65a7323657f1a04cfba03afc24670b1 (diff) |
Wundef, fix various more or less broken debug code
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 6 | ||||
-rw-r--r-- | sax/source/tools/fastserializer.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index 31aac1e285f8..9966b856265e 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -28,7 +28,7 @@ #include <string.h> -#if DEBUG +#if OSL_DEBUG_LEVEL > 0 #include <iostream> #endif @@ -295,7 +295,7 @@ namespace sax_fastparser { return maData; } -#if DEBUG +#if OSL_DEBUG_LEVEL > 0 void FastSaxSerializer::ForMerge::print( ) { std::cerr << "Data: "; @@ -398,7 +398,7 @@ namespace sax_fastparser { return ForMerge::getData(); } -#if DEBUG +#if OSL_DEBUG_LEVEL > 0 void FastSaxSerializer::ForSort::print( ) { std::map< sal_Int32, Int8Sequence >::iterator iter = maData.begin(); diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx index 70bc1533b482..4e9f87115e6d 100644 --- a/sax/source/tools/fastserializer.hxx +++ b/sax/source/tools/fastserializer.hxx @@ -163,7 +163,7 @@ private: virtual void setCurrentElement( ::sal_Int32 /*nToken*/ ) {} virtual Int8Sequence& getData(); -#if DEBUG +#if OSL_DEBUG_LEVEL > 0 virtual void print(); #endif @@ -194,7 +194,7 @@ private: virtual Int8Sequence& getData(); -#if DEBUG +#if OSL_DEBUG_LEVEL > 0 virtual void print(); #endif |