coverity#707379 Uncaught exception

Change-Id: Icaf92098dd7c9b9b6094212d62f5209c63d823d8
This commit is contained in:
Caolán McNamara
2014-04-23 08:57:13 +01:00
parent 7062961299
commit caa5a3ae55
3 changed files with 5 additions and 3 deletions

View File

@@ -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);
};
}; }; };

View File

@@ -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 )
{

View File

@@ -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;