summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 14:58:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 14:58:08 +0000
commitf777f6a788ac5623667f6e4e6d5ef8527fabb394 (patch)
tree36af667c140d238dad401d95d7a3148ad64c6ac5 /io
parenteb4f2eeeced076aad98f64d1e89ed3f584ab6e57 (diff)
INTEGRATION: CWS dbgmacros1 (1.12.20); FILE MERGED
2003/04/09 11:58:57 kso 1.12.20.1: #108413# - debug macro unification.
Diffstat (limited to 'io')
-rw-r--r--io/source/connector/connector.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 9f04eff03379..e73b4f5d3561 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: connector.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: sb $ $Date: 2002-10-04 09:39:51 $
+ * last change: $Author: vg $ $Date: 2003-04-15 15:58:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -128,7 +128,7 @@ namespace stoc_connector
Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription )
throw( NoConnectException, ConnectionSetupException, RuntimeException)
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
OString tmp = OUStringToOString(sConnectionDescription, RTL_TEXTENCODING_ASCII_US);
OSL_TRACE("connector %s\n", tmp.getStr());
#endif
@@ -211,7 +211,7 @@ namespace stoc_connector
OUString delegatee = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.connection.Connector."));
delegatee += aDesc.getName();
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
OString tmp = OUStringToOString(delegatee, RTL_TEXTENCODING_ASCII_US);
OSL_TRACE("connector: trying to get service %s\n", tmp.getStr());
#endif