summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-08 15:54:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-08 17:27:26 +0000
commite61521f6cf0a065d23b420c4007ea224c3070052 (patch)
treef506779d08e8ce04af91e8512c27f54c50197323 /ucb
parent8228227168a7eb3ebf14629bec87f01536c23970 (diff)
OSL_TRACE -> SAL in sw..ucb
Change-Id: I18f5511f70232d91095ac8527a6c5883c36294f5 Reviewed-on: https://gerrit.libreoffice.org/31762 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/ucb.cxx6
-rw-r--r--ucb/source/core/ucbstore.cxx9
2 files changed, 7 insertions, 8 deletions
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 >();
}