Kaydet (Commit) e671cb79 authored tarafından Noel Grandin's avatar Noel Grandin

cid#706917 Uncaught exception

Change-Id: Ic33fd98771d04d120df7dfc5387d5d223800d666
üst 2712925f
...@@ -870,7 +870,7 @@ static uno::Reference< util::XPathSettings > lcl_getPathSettingsService( const u ...@@ -870,7 +870,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, script::BasicErrorException )
{ {
OUString sRetPath; OUString sRetPath;
uno::Reference< util::XPathSettings > xProps = lcl_getPathSettingsService( mxContext ); uno::Reference< util::XPathSettings > xProps = lcl_getPathSettingsService( mxContext );
......
...@@ -38,7 +38,7 @@ private: ...@@ -38,7 +38,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, css::script::BasicErrorException );
protected: protected:
virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException) SAL_OVERRIDE; virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException) SAL_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