summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-12 10:15:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-12 13:03:55 +0000
commit67d8131250d88cc67d03bddb0d594e3b0b1f9609 (patch)
treec66e86d85124a27f6c93f58c091d22cf9f6bbbc9 /sw
parentec95de6198dc329efe8ad644f075337d22479150 (diff)
coverity#738397 Uncaught exception
Change-Id: I727cc99662cd5bb93a795e51744086c0e005152e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/inc/unotxvw.hxx4
-rw-r--r--sw/source/ui/uno/unotxvw.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index 5afc45c46938..e0695fa03331 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -212,7 +212,9 @@ public:
virtual void SAL_CALL setString(const OUString& aString) throw( ::com::sun::star::uno::RuntimeException );
//XScreenCursor
- virtual sal_Bool SAL_CALL screenDown(void) throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL screenDown()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual sal_Bool SAL_CALL screenUp(void) throw( ::com::sun::star::uno::RuntimeException );
//XViewCursor
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 2130b7166459..bb2044a82dd8 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1322,7 +1322,8 @@ sal_Int16 SwXTextViewCursor::getPage(void) throw( uno::RuntimeException )
return nRet;
}
-sal_Bool SwXTextViewCursor::screenDown(void) throw( uno::RuntimeException )
+sal_Bool SwXTextViewCursor::screenDown()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_Bool bRet = sal_False;