summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appdde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/appdde.cxx')
-rw-r--r--sfx2/source/appl/appdde.cxx15
1 files changed, 2 insertions, 13 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 261ef18a1fa3..ac556afa7f42 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -93,21 +93,10 @@ namespace
::ucbhelper::Content aCnt( aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ), uno::Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
bRet = aCnt.isDocument();
}
- catch( const ucb::CommandAbortedException& )
- {
- SAL_INFO( "sfx.appl", "CommandAbortedException" );
- }
- catch( const ucb::IllegalIdentifierException& )
- {
- SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
- }
- catch( const ucb::ContentCreationException& )
- {
- SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
- }
catch( const uno::Exception& )
{
- SAL_WARN( "sfx.appl", "Any other exception" );
+ css::uno::Any ex = cppu::getCaughtException();
+ SAL_WARN( "sfx.appl", exceptionToString(ex) );
}
return bRet;