summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crefl.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:12:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:12:46 +0000
commitac7180fd11703c7139ba033aadda595edfa379a8 (patch)
tree79de30eceedc2cb6c3e8218d83d67faa0407b357 /stoc/source/corereflection/crefl.cxx
parent85667cfc4786f302c56644b0c2a57da365dc8b99 (diff)
INTEGRATION: CWS dbgmacros1 (1.8.36); FILE MERGED
2003/04/10 08:38:16 kso 1.8.36.1: #108413# - debug macro unification.
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r--stoc/source/corereflection/crefl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 533b6efd6eed..824c080056d7 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: crefl.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: dbo $ $Date: 2002-11-11 16:41:53 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:12:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -302,7 +302,7 @@ inline Reference< XIdlClass > IdlReflectionServiceImpl::constructClass(
case typelib_TypeClass_TYPE:
return new IdlClassImpl( this, pTypeDescr->pTypeName, pTypeDescr->eTypeClass, pTypeDescr );
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
case typelib_TypeClass_INTERFACE_METHOD:
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
case typelib_TypeClass_SERVICE:
@@ -566,7 +566,7 @@ sal_Bool SAL_CALL component_writeInfo(
}
catch (Exception & exc)
{
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
OString cstr( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, cstr.getStr() );
#endif