diff options
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r-- | sfx2/source/bastyp/helper.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx index f77f5971fd65..0976c8f80f28 100644 --- a/sfx2/source/bastyp/helper.cxx +++ b/sfx2/source/bastyp/helper.cxx @@ -78,8 +78,7 @@ std::vector<OUString> SfxContentHelper::GetResultSet( const OUString& rURL ) } catch( const uno::Exception& ) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "sfx.bastyp", "GetResultSet: " << exceptionToString(ex) ); + TOOLS_WARN_EXCEPTION( "sfx.bastyp", "GetResultSet" ); } @@ -104,8 +103,7 @@ std::vector<OUString> SfxContentHelper::GetResultSet( const OUString& rURL ) } catch( const uno::Exception& ) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "sfx.bastyp", "XContentAccess::next(): " << exceptionToString(ex) ); + TOOLS_WARN_EXCEPTION( "sfx.bastyp", "XContentAccess::next()" ); } } } @@ -246,8 +244,7 @@ sal_Int64 SfxContentHelper::GetSize( const OUString& rContent ) } catch( const uno::Exception& ) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "sfx.bastyp", exceptionToString(ex) ); + TOOLS_WARN_EXCEPTION( "sfx.bastyp", "" ); } return nSize; } |