summaryrefslogtreecommitdiffstats
path: root/basebmp
diff options
context:
space:
mode:
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>