Kaydet (Commit) 33927ae1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707022 Uncaught exception

Change-Id: I0585582f485399d1c21492738d26f3ef3dc9af2a
üst d375986d
......@@ -78,7 +78,10 @@ interface XRange
[attribute] any PageBreak;
[attribute, readonly] XValidation Validation;
[attribute, readonly] any PrefixCharacter;
[attribute] any Style;
[attribute] any Style
{
get raises ( com::sun::star::script::BasicErrorException );
};
[attribute] any AddIndent;
[attribute] any ShowDetail;
......
......@@ -5257,7 +5257,7 @@ ScVbaRange::UnMerge( ) throw (script::BasicErrorException, uno::RuntimeExceptio
}
uno::Any SAL_CALL
ScVbaRange::getStyle() throw (uno::RuntimeException, std::exception)
ScVbaRange::getStyle() throw (css::script::BasicErrorException, uno::RuntimeException, std::exception)
{
if ( m_Areas->getCount() > 1 )
{
......
......@@ -258,7 +258,7 @@ public:
virtual void SAL_CALL Group( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL Merge( const css::uno::Any& Across ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL UnMerge( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL getStyle() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL getStyle() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setStyle( const css::uno::Any& _style ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Next() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Previous() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) 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