Kaydet (Commit) 4cf1ebd1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1338247 Uncaught exception

Change-Id: Ibd7b50578fea64b1091f4840b5ec685e058fafa6
üst e1d1154d
...@@ -860,7 +860,7 @@ static uno::Reference< util::XPathSettings > lcl_getPathSettingsService( const u ...@@ -860,7 +860,7 @@ static uno::Reference< util::XPathSettings > lcl_getPathSettingsService( const u
return xPathSettings; return xPathSettings;
} }
OUString ScVbaApplication::getOfficePath( const OUString& _sPathType ) throw (uno::RuntimeException) OUString ScVbaApplication::getOfficePath( const OUString& _sPathType ) throw (uno::RuntimeException, std::exception)
{ {
OUString sRetPath; OUString sRetPath;
uno::Reference< util::XPathSettings > xProps = lcl_getPathSettingsService( mxContext ); uno::Reference< util::XPathSettings > xProps = lcl_getPathSettingsService( mxContext );
......
...@@ -37,7 +37,7 @@ private: ...@@ -37,7 +37,7 @@ private:
// note: member variables moved to struct "ScVbaAppSettings", see cxx file, to be shared by all application instances // note: member variables moved to struct "ScVbaAppSettings", see cxx file, to be shared by all application instances
ScVbaAppSettings& mrAppSettings; ScVbaAppSettings& mrAppSettings;
OUString getOfficePath( const OUString& sPath ) throw ( css::uno::RuntimeException ); OUString getOfficePath( const OUString& sPath ) throw ( css::uno::RuntimeException, std::exception );
protected: protected:
virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException) override; virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment