From e61521f6cf0a065d23b420c4007ea224c3070052 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Dec 2016 15:54:14 +0200 Subject: OSL_TRACE -> SAL in sw..ucb Change-Id: I18f5511f70232d91095ac8527a6c5883c36294f5 Reviewed-on: https://gerrit.libreoffice.org/31762 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/core/ucb.cxx | 6 +++--- ucb/source/core/ucbstore.cxx | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'ucb') diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index 4e00aa4a810c..acabf3f518d0 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -804,7 +804,7 @@ void UniversalContentBroker::configureUcb() ContentProviderDataList aData; if (!getContentProviderData(aKey1, aKey2, aData)) { - OSL_TRACE("UniversalContentBroker::configureUcb(): No configuration"); + SAL_WARN( "ucb", "No configuration"); return; } @@ -923,14 +923,14 @@ bool UniversalContentBroker::getContentProviderData( } catch (const uno::RuntimeException&) { - OSL_TRACE( "UniversalContentBroker::getContentProviderData - caught RuntimeException!" ); + SAL_WARN( "ucb", "caught RuntimeException!" ); return false; } catch (const uno::Exception&) { // createInstance, createInstanceWithArguments - OSL_TRACE( "UniversalContentBroker::getContentProviderData - caught Exception!" ); + SAL_WARN( "ucb", "caught Exception!" ); return false; } diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 560a1228e4aa..b75a670e62d6 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -389,7 +389,7 @@ PropertySetRegistry::openPropertySet( const OUString& key, sal_Bool create ) } } - OSL_TRACE( "PropertySetRegistry::openPropertySet no root access" ); + SAL_WARN( "ucb", "no root access" ); } } @@ -450,7 +450,7 @@ void SAL_CALL PropertySetRegistry::removePropertySet( const OUString& key ) return; } - OSL_TRACE( "PropertySetRegistry::removePropertySet - no root access" ); + SAL_WARN( "ucb", "no root access" ); } @@ -913,8 +913,7 @@ Reference< XMultiServiceFactory > PropertySetRegistry::getConfigProvider() } catch (const Exception&) { - OSL_TRACE( "PropertySetRegistry::getConfigProvider - " - "caught exception!" ); + SAL_WARN( "ucb", "caught exception!" ); } } } @@ -976,7 +975,7 @@ Reference< XInterface > PropertySetRegistry::getRootConfigReadAccess() return Reference< XInterface >(); } - OSL_TRACE( "PropertySetRegistry::getRootConfigReadAccess - Error!" ); + SAL_WARN( "ucb", "Error!" ); return Reference< XInterface >(); } -- cgit