summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basebmp/source/debug.cxx4
-rw-r--r--basebmp/test/bmpdemo.cxx1
-rwxr-xr-xunusedcode.easy1
-rw-r--r--vcl/headless/svptext.cxx4
4 files changed, 4 insertions, 6 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>
diff --git a/unusedcode.easy b/unusedcode.easy
index 379de291bb47..6a71b4353b76 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -300,7 +300,6 @@ _SwPamRanges_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwP
_SwRedlineTbl::Insert(SwRedline* const*, unsigned short)
_SwRedlineTbl::Insert(_SwRedlineTbl const*, unsigned short, unsigned short)
_SwRedlineTbl::Remove(SwRedline* const&, unsigned short)
-basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&)
binfilter::B3dEdgeEntryBucketMemArr::Insert(binfilter::B3dEdgeEntryBucketMemArr const*, unsigned short, unsigned short, unsigned short)
binfilter::B3dEdgeEntryBucketMemArr::Replace(char const*&, unsigned short)
binfilter::B3dEdgeEntryBucketMemArr::Replace(char const**, unsigned short, unsigned short)
diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx
index 26abf384ab44..2eecfbd678d0 100644
--- a/vcl/headless/svptext.cxx
+++ b/vcl/headless/svptext.cxx
@@ -34,10 +34,6 @@
#include <tools/debug.hxx>
-#if OSL_DEBUG_LEVEL > 2
-#include <basebmp/debug.hxx>
-#endif
-
#include <outfont.hxx>
#include <impfont.hxx>
#include <rtl/instance.hxx>