Kaydet (Commit) 2d11ddeb authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707036 Uncaught exception

Change-Id: If4e5fdad7261ba6b92a04e615e28d2b474ad4234
üst b1661350
......@@ -44,7 +44,7 @@ interface XWorkbook
[attribute] boolean PrecisionAsDisplayed;
any Worksheets( [in] any Index );
any Styles( [in] any Index );
any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
any Sheets( [in] any Index );
any Windows( [in] any Index );
void ResetColors() raises (com::sun::star::script::BasicErrorException);
......
......@@ -42,7 +42,7 @@ interface XDocument : com::sun::star::script::XInvocation
any Bookmarks( [in] any Index );
any Variables( [in] any Index );
any Paragraphs( [in] any Index );
any Styles( [in] any Index );
any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
any Tables( [in] any Index );
any Fields( [in] any Index );
any Shapes( [in] any Index );
......
......@@ -354,7 +354,7 @@ ScVbaWorkbook::SaveAs( const uno::Any& FileName, const uno::Any& FileFormat, con
}
css::uno::Any SAL_CALL
ScVbaWorkbook::Styles( const uno::Any& Item ) throw (uno::RuntimeException, std::exception)
ScVbaWorkbook::Styles( const uno::Any& Item ) throw (::script::BasicErrorException, uno::RuntimeException, std::exception)
{
// quick look and Styles object doesn't seem to have a valid parent
// or a least the object browser just shows an object that has no
......
......@@ -54,7 +54,7 @@ public:
virtual void SAL_CALL SaveAs( const css::uno::Any& FileName, const css::uno::Any& FileFormat, const css::uno::Any& Password, const css::uno::Any& WriteResPassword, const css::uno::Any& ReadOnlyRecommended, const css::uno::Any& CreateBackup, const css::uno::Any& AccessMode, const css::uno::Any& ConflictResolution, const css::uno::Any& AddToMru, const css::uno::Any& TextCodepage, const css::uno::Any& TextVisualLayout, const css::uno::Any& Local ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& Item ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& Item ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL ResetColors( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL Colors( const css::uno::Any& Index ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::sal_Int32 SAL_CALL getFileFormat( ) throw (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