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

coverity#707379 Uncaught exception

Change-Id: Icaf92098dd7c9b9b6094212d62f5209c63d823d8
üst 70629612
......@@ -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);
};
}; }; };
......
......@@ -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 )
{
......
......@@ -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;
......
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