summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oovbaapi/ooo/vba/word/XOptions.idl2
-rw-r--r--sw/source/ui/vba/vbaoptions.cxx3
-rw-r--r--sw/source/ui/vba/vbaoptions.hxx3
3 files changed, 5 insertions, 3 deletions
diff --git a/oovbaapi/ooo/vba/word/XOptions.idl b/oovbaapi/ooo/vba/word/XOptions.idl
index 158fc6515992..497f7782e323 100644
--- a/oovbaapi/ooo/vba/word/XOptions.idl
+++ b/oovbaapi/ooo/vba/word/XOptions.idl
@@ -42,7 +42,7 @@ interface XOptions
[attribute] boolean AutoFormatApplyLists;
[attribute] boolean AutoFormatApplyBulletedLists;
- any DefaultFilePath( [in] long Path );
+ any DefaultFilePath( [in] long Path ) raises (com::sun::star::script::BasicErrorException);
};
}; }; };
diff --git a/sw/source/ui/vba/vbaoptions.cxx b/sw/source/ui/vba/vbaoptions.cxx
index a1e865071011..a2d4591900bb 100644
--- a/sw/source/ui/vba/vbaoptions.cxx
+++ b/sw/source/ui/vba/vbaoptions.cxx
@@ -39,7 +39,8 @@ SwVbaOptions::~SwVbaOptions()
}
uno::Any SAL_CALL
-SwVbaOptions::DefaultFilePath( sal_Int32 _path ) throw ( uno::RuntimeException, std::exception )
+SwVbaOptions::DefaultFilePath( sal_Int32 _path )
+ throw (css::script::BasicErrorException, uno::RuntimeException, std::exception)
{
switch( _path )
{
diff --git a/sw/source/ui/vba/vbaoptions.hxx b/sw/source/ui/vba/vbaoptions.hxx
index 77b978060a97..a47ad6d972bc 100644
--- a/sw/source/ui/vba/vbaoptions.hxx
+++ b/sw/source/ui/vba/vbaoptions.hxx
@@ -65,7 +65,8 @@ public:
virtual void SAL_CALL setAutoFormatApplyBulletedLists( sal_Bool _autoformatapplybulletedlists ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Methods
- virtual css::uno::Any SAL_CALL DefaultFilePath( sal_Int32 _path ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL DefaultFilePath( sal_Int32 _path )
+ throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//PropListener
virtual void setValueEvent( const css::uno::Any& value ) SAL_OVERRIDE;