diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/expand/ucpexpand.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 23299e1fa348..61cd104a58c8 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -903,8 +903,7 @@ Reference< XMultiServiceFactory > PropertySetRegistry::getConfigProvider() } catch (const Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "ucb", "caught exception! " << exceptionToString(ex) ); + TOOLS_WARN_EXCEPTION( "ucb", ""); } } } diff --git a/ucb/source/ucp/expand/ucpexpand.cxx b/ucb/source/ucp/expand/ucpexpand.cxx index 8c418f197bfc..5cf78de32789 100644 --- a/ucb/source/ucp/expand/ucpexpand.cxx +++ b/ucb/source/ucp/expand/ucpexpand.cxx @@ -202,8 +202,7 @@ sal_Int32 ExpandContentProviderImpl::compareContentIds( } catch (const ucb::IllegalIdentifierException &) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "ucb", exceptionToString(ex) ); + TOOLS_WARN_EXCEPTION( "ucb", "" ); return -1; } } |