summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-05-11 10:56:12 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-05-11 22:48:49 +0200
commit7327195602e7870e20a4eebb8ea26ae7294f065b (patch)
tree74210a617a5621f5b53f56f0be9660fcb992e8d2 /basebmp
parent5c3615c1152eabfda508504c8a4c5727868acbc8 (diff)
put debugDump behind #if OSL_DEBUG_LEVEL > 2
basebmp/source/debug.cxx is only for vcl/headless/svpgdi.cxx Change-Id: I I Ib0624d919d7c0c5ce54dbef62fa0b49fd6eb0ab1
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/debug.cxx4
-rw-r--r--basebmp/test/bmpdemo.cxx1
2 files changed, 4 insertions, 1 deletions
diff --git a/basebmp/source/debug.cxx b/basebmp/source/debug.cxx
index 54917150a4fe..53e7bf787d58 100644
--- a/basebmp/source/debug.cxx
+++ b/basebmp/source/debug.cxx
@@ -26,6 +26,8 @@
*
************************************************************************/
+#if OSL_DEBUG_LEVEL > 2
+
#include <osl/diagnose.h>
#include <basegfx/point/b2ipoint.hxx>
@@ -106,4 +108,6 @@ namespace basebmp
}
}
+#endif // OSL_DEBUG_LEVEL > 2
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basebmp/test/bmpdemo.cxx b/basebmp/test/bmpdemo.cxx
index 6b949218b451..02b392a52fe7 100644
--- a/basebmp/test/bmpdemo.cxx
+++ b/basebmp/test/bmpdemo.cxx
@@ -62,7 +62,6 @@
#include <basebmp/color.hxx>
#include <basebmp/scanlineformats.hxx>
#include <basebmp/bitmapdevice.hxx>
-#include <basebmp/debug.hxx>
#include <rtl/bootstrap.hxx>