summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:19:01 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:19:01 +0000
commit79a8c2334718b0b7ec9283b5258bc13f339c248a (patch)
treed7478e3f3801f13c8d1eba48bdaf68621ce59f9e /extensions/source
parentaf061b28850f85fa3fd028e1b9ed50125abe1f11 (diff)
INTEGRATION: CWS dbgmacros1 (1.3.72); FILE MERGED
2003/04/09 10:54:53 kso 1.3.72.1: #108413# - debug macro unification.
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/scanner/sanedlg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index b83d735e9dcb..8c6abd9296e2 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sanedlg.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: pl $ $Date: 2002-03-28 16:45:33 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:19:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -723,7 +723,7 @@ void SaneDlg::AcquirePreview()
}
else
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
aTransporter.getStream().Seek( STREAM_SEEK_TO_END );
fprintf( stderr, "Previewbitmapstream contains %d bytes\n", aTransporter.getStream().Tell() );
#endif
@@ -1384,7 +1384,7 @@ BOOL SaneDlg::SetAdjustedNumericalValue(
if( ( nValues = mrSane.GetRange( nOption, pValues ) ) < 0 )
return FALSE;
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "SaneDlg::SetAdjustedNumericalValue( \"%s\", %lg ) ",
pOption, fValue );
#endif
@@ -1412,7 +1412,7 @@ BOOL SaneDlg::SetAdjustedNumericalValue(
}
delete pValues;
mrSane.SetOptionValue( nOption, fValue, nElement );
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "yields %lg\n", fValue );
#endif