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

coverity#707409 Uncaught exception

Change-Id: I0f19cd6411c7008a4698fc81fd2ce9c4108ce8eb
üst 62962557
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define __ooo_vba_word_XView_idl__ #define __ooo_vba_word_XView_idl__
#include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/script/BasicErrorException.idl>
#include <ooo/vba/XHelperInterface.idl> #include <ooo/vba/XHelperInterface.idl>
module ooo { module vba { module word { module ooo { module vba { module word {
...@@ -28,7 +29,11 @@ interface XView ...@@ -28,7 +29,11 @@ interface XView
{ {
interface ooo::vba::XHelperInterface; interface ooo::vba::XHelperInterface;
[attribute] long SeekView; [attribute] long SeekView
{
set raises ( com::sun::star::script::BasicErrorException );
};
[attribute] long SplitSpecial; [attribute] long SplitSpecial;
[attribute] boolean TableGridLines; [attribute] boolean TableGridLines;
[attribute] long Type; [attribute] long Type;
......
...@@ -115,7 +115,7 @@ SwVbaView::getSeekView() throw (css::uno::RuntimeException, std::exception) ...@@ -115,7 +115,7 @@ SwVbaView::getSeekView() throw (css::uno::RuntimeException, std::exception)
} }
void SAL_CALL void SAL_CALL
SwVbaView::setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, std::exception) SwVbaView::setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, css::script::BasicErrorException, std::exception)
{ {
// FIXME: save the current cursor position, if the cursor is in the main // FIXME: save the current cursor position, if the cursor is in the main
// document, so we can jump back to this position, if the macro sets // document, so we can jump back to this position, if the macro sets
......
...@@ -45,7 +45,7 @@ public: ...@@ -45,7 +45,7 @@ public:
// XView // XView
virtual ::sal_Int32 SAL_CALL getSeekView() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL getSeekView() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setSeekView( ::sal_Int32 _seekview ) throw (css::uno::RuntimeException, css::script::BasicErrorException, std::exception) SAL_OVERRIDE;
virtual ::sal_Int32 SAL_CALL getSplitSpecial() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL getSplitSpecial() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setSplitSpecial( ::sal_Int32 _splitspecial ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setSplitSpecial( ::sal_Int32 _splitspecial ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL getTableGridLines() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL getTableGridLines() throw (css::uno::RuntimeException, std::exception) 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