summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-18 17:07:50 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-18 17:15:57 +0100
commit2c17beb796a29e7d160522a800e647ddd7a8b2b3 (patch)
treec1dc2f1eef07215af8fc9343556ba945c7608f1f /sax
parente03d9e97a65a7323657f1a04cfba03afc24670b1 (diff)
Wundef, fix various more or less broken debug code
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/fastserializer.cxx6
-rw-r--r--sax/source/tools/fastserializer.hxx4
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
10-24 17:56:06 +0200'>2013-10-24xmlhelp: remove Package_xslMichael Stahl 2013-10-24valgrind: on success aHDFData is out of scopeCaolán McNamara 2013-10-24pEmpty is completely insane to useCaolán McNamara 2013-10-23clean up some include guardsThomas Arnhold 2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza 2013-10-16cleanupThomas Arnhold 2013-10-03CID#705780 seeing as this is irredeemably wrong remove itCaolán McNamara 2013-09-23Try to fix cross-compilationTor Lillqvist 2013-09-21CID#707598 uninitialized scalar valuesCaolán McNamara 2013-09-11Towards a working instdir for Mac OS XStephan Bergmann 2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák 2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist 2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist 2013-08-13fdo#57950: Remove some chained appends in xmhelpJelle van der Waa 2013-08-10fdo#62475 removed pointless commentsJelle van der Waa