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

cid#707029 Uncaught exception

Change-Id: I139ae90a8bee40914d4c4f67084952dd0017ebd1
üst bce8ded6
...@@ -42,7 +42,7 @@ lcl_getStyleProps( const OUString& sStyleName, const uno::Reference< frame::XMod ...@@ -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() ) if (!mxModel.is() )
DebugHelper::exception(SbERR_METHOD_FAILED, OUString( "XModel Interface could not be retrieved") ); DebugHelper::exception(SbERR_METHOD_FAILED, OUString( "XModel Interface could not be retrieved") );
......
...@@ -35,7 +35,7 @@ protected: ...@@ -35,7 +35,7 @@ protected:
css::uno::Reference< css::style::XStyle > mxStyle; css::uno::Reference< css::style::XStyle > mxStyle;
css::uno::Reference< css::frame::XModel > mxModel; css::uno::Reference< css::frame::XModel > mxModel;
css::uno::Reference< css::container::XNameContainer > mxStyleFamilyNameContainer; css::uno::Reference< css::container::XNameContainer > mxStyleFamilyNameContainer;
void initialise() throw ( css::uno::RuntimeException ); void initialise() throw ( css::uno::RuntimeException, css::script::BasicErrorException );
public: 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 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 ); 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 );
......
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