From eaf83bb2089ad9aa82df2b77f69e7a55b7acd44c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 25 Feb 2014 15:28:43 +0000 Subject: coverity#738431 Uncaught exception Change-Id: I32aab64372133f3b5cdcad0d5c9952d685be7223 --- sw/source/ui/inc/unotxvw.hxx | 4 +++- sw/source/ui/uno/unotxvw.cxx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'sw/source') diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index 60089136d9f8..b42ec9041958 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -235,7 +235,9 @@ public: virtual sal_Bool SAL_CALL screenUp(void) throw( ::com::sun::star::uno::RuntimeException ); //XViewCursor - virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) throw (::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 3422c9ec3294..63d91aed6557 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1616,7 +1616,8 @@ Any SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName ) return aRet; } -sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand) throw( uno::RuntimeException ) +sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; sal_Bool bRet = sal_False; -- cgit breoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ooxmlimport/data/fdo76583.docx
AgeCommit message (Expand)Author