diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 20:29:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 13:22:57 +0100 |
commit | e159201777cbae736c7890ca3c0f5a98614e9161 (patch) | |
tree | 7d7089558d8e4006e25193b0dd375c1dabc882f1 /sfx2 | |
parent | 3601a6dda6c4dabdb56b4e4f45d41f2d6a2237e7 (diff) |
coverity#1308489 Uncaught exception
Change-Id: I7d332fcd06e39d096f449790b1e590227d2f8a26
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/macroloader.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/macroloader.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/macroloader.cxx b/sfx2/source/appl/macroloader.cxx index 226f2faeb9e0..71458ed51e28 100644 --- a/sfx2/source/appl/macroloader.cxx +++ b/sfx2/source/appl/macroloader.cxx @@ -190,7 +190,7 @@ void SAL_CALL SfxMacroLoader::removeStatusListener( } ErrCode SfxMacroLoader::loadMacro( const OUString& rURL, com::sun::star::uno::Any& rRetval, SfxObjectShell* pSh ) - throw ( ucb::ContentCreationException, uno::RuntimeException ) + throw ( ucb::ContentCreationException, uno::RuntimeException, std::exception ) { #if !HAVE_FEATURE_SCRIPTING (void) rURL; diff --git a/sfx2/source/inc/macroloader.hxx b/sfx2/source/inc/macroloader.hxx index 2cfa7eded60a..ea3ce5b7c378 100644 --- a/sfx2/source/inc/macroloader.hxx +++ b/sfx2/source/inc/macroloader.hxx @@ -63,7 +63,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - static ErrCode loadMacro( const OUString& aURL, css::uno::Any& rRetval, SfxObjectShell* pDoc=NULL ) throw( css::uno::RuntimeException, css::ucb::ContentCreationException ); + static ErrCode loadMacro( const OUString& aURL, css::uno::Any& rRetval, SfxObjectShell* pDoc=NULL ) throw( css::uno::RuntimeException, css::ucb::ContentCreationException, std::exception ); virtual css::uno::Reference < css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL& aURL, const OUString& sTargetFrameName, |