diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 15:05:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 06:10:04 +0000 |
commit | a005fbeddc4e615cfff56a9bd84355f8d42c1c8c (patch) | |
tree | f7e561a362b6aa005ceea7e6176e35f05790462a /io | |
parent | 81f2a9f46451492d4d879573bc9ac7f2e44abedb (diff) |
OSL_TRACE->SAL in framework..sal
Change-Id: I9a897af88aa9f6f7ca98ce521c69b5a4ee8462e9
Reviewed-on: https://gerrit.libreoffice.org/31903
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io')
-rw-r--r-- | io/source/acceptor/acceptor.cxx | 9 | ||||
-rw-r--r-- | io/source/connector/connector.cxx | 12 |
2 files changed, 1 insertions, 20 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index b6ef0a33556f..939eb436e402 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -124,10 +124,6 @@ namespace io_acceptor IllegalArgumentException, RuntimeException, std::exception) { - OSL_TRACE( - "acceptor %s\n", - OUStringToOString( - sConnectionDescription, RTL_TEXTENCODING_ASCII_US).getStr()); // if there is a thread alread accepting in this object, throw an exception. struct BeingInAccept guard( &m_bInAccept, sConnectionDescription ); @@ -205,11 +201,6 @@ namespace io_acceptor else { OUString delegatee = "com.sun.star.connection.Acceptor." + aDesc.getName(); - - OSL_TRACE( - "trying to get service %s\n", - OUStringToOString( - delegatee, RTL_TEXTENCODING_ASCII_US).getStr()); _xAcceptor.set(_xSMgr->createInstanceWithContext(delegatee, _xCtx), UNO_QUERY); if(!_xAcceptor.is()) diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 695326718c25..d12296295700 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -73,11 +73,6 @@ namespace stoc_connector Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription ) throw( NoConnectException, ConnectionSetupException, RuntimeException, std::exception) { - OSL_TRACE( - "connector %s\n", - OUStringToOString( - sConnectionDescription, RTL_TEXTENCODING_ASCII_US).getStr()); - // split string into tokens try { @@ -143,13 +138,8 @@ namespace stoc_connector } else { - OUString delegatee("com.sun.star.connection.Connector."); - delegatee += aDesc.getName(); + OUString delegatee= "com.sun.star.connection.Connector." + aDesc.getName(); - 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 ); |