summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-23 08:57:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-23 09:40:03 +0100
commitcaa5a3ae55965290b0122e73191de691acf23b3f (patch)
tree9030171631574872187d7dedf3ab96f792373c56 /sw/source/ui/vba
parent7062961299eab7b2ba2444871a3faf09265d7662 (diff)
coverity#707379 Uncaught exception
Change-Id: Icaf92098dd7c9b9b6094212d62f5209c63d823d8
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbaoptions.cxx3
-rw-r--r--sw/source/ui/vba/vbaoptions.hxx3
2 files changed, 4 insertions, 2 deletions
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;