summaryrefslogtreecommitdiff
path: root/extensions/test
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:19:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:19:43 +0000
commit657574e32d7a7fbe0cfae1c77a8ad66339d0b23f (patch)
treee23a6163c15605ea49c28345514728b6234b3517 /extensions/test
parenteb0965d062494a2b365d449814db435d5cae1912 (diff)
INTEGRATION: CWS dbgmacros1 (1.1.1.1.108); FILE MERGED
2003/04/09 10:54:55 kso 1.1.1.1.108.1: #108413# - debug macro unification.
Diffstat (limited to 'extensions/test')
-rw-r--r--extensions/test/sax/testsax.cxx8
-rw-r--r--extensions/test/sax/testwriter.cxx8
2 files changed, 12 insertions, 4 deletions
diff --git a/extensions/test/sax/testsax.cxx b/extensions/test/sax/testsax.cxx
index ddfd16a4ebf5..c2fac73b4de1 100644
--- a/extensions/test/sax/testsax.cxx
+++ b/extensions/test/sax/testsax.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testsax.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:16:56 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:19:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,6 +70,10 @@
#include <usr/weak.hxx>
#include <tools/string.hxx>
#include <vos/conditn.hxx>
+
+#if OSL_DEBUG_LEVEL == 0
+#define NDEBUG
+#endif
#include <assert.h>
#include <smart/com/sun/star/io/XOutputStream.hxx>
diff --git a/extensions/test/sax/testwriter.cxx b/extensions/test/sax/testwriter.cxx
index a17af75dae00..3715620e9ff9 100644
--- a/extensions/test/sax/testwriter.cxx
+++ b/extensions/test/sax/testwriter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testwriter.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:16:56 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:19:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,6 +77,10 @@
#include <osl/time.h>
#include <usr/weak.hxx>
#include <tools/string.hxx>
+
+#if OSL_DEBUG_LEVEL == 0
+#define NDEBUG
+#endif
#include <assert.h>
#include <usr/factoryhlp.hxx>