diff options
-rw-r--r-- | oovbaapi/ooo/vba/excel/XWorkbook.idl | 2 | ||||
-rw-r--r-- | oovbaapi/ooo/vba/word/XDocument.idl | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbook.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbook.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/oovbaapi/ooo/vba/excel/XWorkbook.idl b/oovbaapi/ooo/vba/excel/XWorkbook.idl index 5f286d5a33d9..9efbf6ce354c 100644 --- a/oovbaapi/ooo/vba/excel/XWorkbook.idl +++ b/oovbaapi/ooo/vba/excel/XWorkbook.idl @@ -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); diff --git a/oovbaapi/ooo/vba/word/XDocument.idl b/oovbaapi/ooo/vba/word/XDocument.idl index dd2751efc699..1dde907ca342 100644 --- a/oovbaapi/ooo/vba/word/XDocument.idl +++ b/oovbaapi/ooo/vba/word/XDocument.idl @@ -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 ); diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx index a72abd3642f3..1883e29d639b 100644 --- a/sc/source/ui/vba/vbaworkbook.cxx +++ b/sc/source/ui/vba/vbaworkbook.cxx @@ -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 diff --git a/sc/source/ui/vba/vbaworkbook.hxx b/sc/source/ui/vba/vbaworkbook.hxx index bf57680c8cef..61c8bcbb036b 100644 --- a/sc/source/ui/vba/vbaworkbook.hxx +++ b/sc/source/ui/vba/vbaworkbook.hxx @@ -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; |