diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-27 10:14:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 10:50:07 +0200 |
commit | 5dbafd168d7c51e6a588b3cb7802ff0dc9abc2ef (patch) | |
tree | f32e78b68079b037685659aab073f456822feab1 /sc/source/ui | |
parent | bce8ded6ca029ecd3e7ec2cccda300ce84259b2f (diff) |
cid#707029 Uncaught exception
Change-Id: I139ae90a8bee40914d4c4f67084952dd0017ebd1
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/vba/vbastyle.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbastyle.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx index 3a9f8b6cd38d..932cda0a61a5 100644 --- a/sc/source/ui/vba/vbastyle.cxx +++ b/sc/source/ui/vba/vbastyle.cxx @@ -42,7 +42,7 @@ lcl_getStyleProps( const OUString& sStyleName, const uno::Reference< frame::XMod } -void ScVbaStyle::initialise() throw ( uno::RuntimeException ) +void ScVbaStyle::initialise() throw ( uno::RuntimeException, script::BasicErrorException ) { if (!mxModel.is() ) DebugHelper::exception(SbERR_METHOD_FAILED, OUString( "XModel Interface could not be retrieved") ); diff --git a/sc/source/ui/vba/vbastyle.hxx b/sc/source/ui/vba/vbastyle.hxx index a44f5e200e3d..98f42a6e32cc 100644 --- a/sc/source/ui/vba/vbastyle.hxx +++ b/sc/source/ui/vba/vbastyle.hxx @@ -35,7 +35,7 @@ protected: css::uno::Reference< css::style::XStyle > mxStyle; css::uno::Reference< css::frame::XModel > mxModel; css::uno::Reference< css::container::XNameContainer > mxStyleFamilyNameContainer; - void initialise() throw ( css::uno::RuntimeException ); + void initialise() throw ( css::uno::RuntimeException, css::script::BasicErrorException ); public: ScVbaStyle( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const OUString& sStyleName, const css::uno::Reference< css::frame::XModel >& _xModel ) throw ( css::script::BasicErrorException, css::uno::RuntimeException ); ScVbaStyle( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet, const css::uno::Reference< css::frame::XModel >& _xModel ) throw ( css::script::BasicErrorException, css::uno::RuntimeException ); |