diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:32:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:15:51 +0000 |
commit | 4cf1ebd1b2ebad53a57d788bc4766a12aa51ad8e (patch) | |
tree | 2526f3996b8a57ea5baa5a4789d13988dce11e1a /sc | |
parent | e1d1154d099aa450777d6b6b205c664faab596af (diff) |
coverity#1338247 Uncaught exception
Change-Id: Ibd7b50578fea64b1091f4840b5ec685e058fafa6
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaapplication.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 09d834533225..ef3f6ea6652f 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -860,7 +860,7 @@ static uno::Reference< util::XPathSettings > lcl_getPathSettingsService( const u return xPathSettings; } -OUString ScVbaApplication::getOfficePath( const OUString& _sPathType ) throw (uno::RuntimeException) +OUString ScVbaApplication::getOfficePath( const OUString& _sPathType ) throw (uno::RuntimeException, std::exception) { OUString sRetPath; uno::Reference< util::XPathSettings > xProps = lcl_getPathSettingsService( mxContext ); diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx index 6f1427677e90..c898e5a74e54 100644 --- a/sc/source/ui/vba/vbaapplication.hxx +++ b/sc/source/ui/vba/vbaapplication.hxx @@ -37,7 +37,7 @@ private: // note: member variables moved to struct "ScVbaAppSettings", see cxx file, to be shared by all application instances ScVbaAppSettings& mrAppSettings; - OUString getOfficePath( const OUString& sPath ) throw ( css::uno::RuntimeException ); + OUString getOfficePath( const OUString& sPath ) throw ( css::uno::RuntimeException, std::exception ); protected: virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException) override; |