summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-24 09:36:17 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-24 09:36:17 +0000
commit6cfb6fa72cfcd80b3ca504f465b2dff0add3ece7 (patch)
tree90b67e884cc04a75a0cf65c03a36749516a6bf82 /io
parent5355c87fb2f634f20fd5e3dfd0ae14c5de939f59 (diff)
INTEGRATION: CWS sb56 (1.19.2); FILE MERGED
2006/07/07 09:10:29 sb 1.19.2.1: #i67105# Made code compile (warning-free) with debug=x.
Diffstat (limited to 'io')
-rw-r--r--io/source/connector/connector.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 3f0d57ee35b9..2f2826afdf99 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: connector.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 00:16:41 $
+ * last change: $Author: ihi $ $Date: 2006-08-24 10:36:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -97,10 +97,10 @@ namespace stoc_connector
Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription )
throw( NoConnectException, ConnectionSetupException, RuntimeException)
{
-#if OSL_DEBUG_LEVEL > 1
- OString tmp = OUStringToOString(sConnectionDescription, RTL_TEXTENCODING_ASCII_US);
- OSL_TRACE("connector %s\n", tmp.getStr());
-#endif
+ OSL_TRACE(
+ "connector %s\n",
+ OUStringToOString(
+ sConnectionDescription, RTL_TEXTENCODING_ASCII_US).getStr());
// split string into tokens
try
@@ -178,10 +178,10 @@ namespace stoc_connector
OUString delegatee = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.connection.Connector."));
delegatee += aDesc.getName();
-#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
+ OSL_TRACE(
+ "connector: trying to get service %s\n",
+ OUStringToOString(
+ delegatee, RTL_TEXTENCODING_ASCII_US).getStr());
Reference<XConnector> xConnector(
_xSMgr->createInstanceWithContext(delegatee, _xCtx), UNO_QUERY );