cid#707029 Uncaught exception
Change-Id: I139ae90a8bee40914d4c4f67084952dd0017ebd1
This commit is contained in:
@@ -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") );
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user