summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/wmf/enhwmf.cxx7
-rw-r--r--svtools/source/filter/wmf/winmtf.cxx5
2 files changed, 9 insertions, 3 deletions
diff --git a/svtools/source/filter/wmf/enhwmf.cxx b/svtools/source/filter/wmf/enhwmf.cxx
index d0bff3134467..8f9074d5bb7e 100644
--- a/svtools/source/filter/wmf/enhwmf.cxx
+++ b/svtools/source/filter/wmf/enhwmf.cxx
@@ -159,8 +159,11 @@
#define EMR_SETLINKEDUFIS 119
#define EMR_SETTEXTJUSTIFICATION 120
+#if OSL_DEBUG_LEVEL > 1
+#define EMFP_DEBUG(x) x
+#else
#define EMFP_DEBUG(x)
-//#define EMFP_DEBUG(x) x
+#endif
//-----------------------------------------------------------------------------------
@@ -288,7 +291,7 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
// GetDC
if( type == 16388 ) {
bHaveDC = true;
- EMFP_DEBUG(printf ("\t\tEMF+ lock DC (device context)\n", type));
+ EMFP_DEBUG(printf ("\t\tEMF+ lock DC (device context)\n"));
}
//Get the length of the remaining data of this record based
diff --git a/svtools/source/filter/wmf/winmtf.cxx b/svtools/source/filter/wmf/winmtf.cxx
index 48acdcb9f52b..4c6e73980385 100644
--- a/svtools/source/filter/wmf/winmtf.cxx
+++ b/svtools/source/filter/wmf/winmtf.cxx
@@ -44,8 +44,11 @@
#define WIN_MTF_MAX_CLIP_DEPTH 16
+#if OSL_DEBUG_LEVEL > 1
+#define EMFP_DEBUG(x) x
+#else
#define EMFP_DEBUG(x)
-//#define EMFP_DEBUG(x) x
+#endif
void WinMtfClipPath::intersectClipRect( const Rectangle& rRect )
{