diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:37:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:21 +0000 |
commit | a007379220a585d7a43189c729bf672972b0a7c1 (patch) | |
tree | 061ecb5bbbae484deeaa5f8e138677ee06a23107 /sw/source | |
parent | 75b61186dcd21cfa5f9ac1547226522a31428423 (diff) |
coverity#738442 Uncaught exception
Change-Id: I932b9afe1842a3b834e749268ae211ca928026f1
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index fda452f15e03..b34c3c1b9ef3 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -244,7 +244,9 @@ public: 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 ); + virtual sal_Bool SAL_CALL screenUp() + throw (::com::sun::star::uno::RuntimeException, + std::exception); //XViewCursor virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 26ca55880875..4e90305c76a5 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1351,7 +1351,8 @@ sal_Bool SwXTextViewCursor::screenDown() return bRet; } -sal_Bool SwXTextViewCursor::screenUp(void) throw( uno::RuntimeException ) +sal_Bool SwXTextViewCursor::screenUp() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; sal_Bool bRet = sal_False; |