diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 13:15:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:27:41 +0000 |
commit | ec9e2bcceb0ff7f78cd9191d1d7dae2ab8fb0ca7 (patch) | |
tree | 35ec33f653d5e10044bfbb61e04b4d843cb77502 /sw | |
parent | aeafceca82c7270fb158bbd0bbc3572ac8ae4f48 (diff) |
coverity#738288 Uncaught exception
Change-Id: I7808d4914b675fc2af958943565aaf1b29836ae7
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unotbl.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 68929ee2295b..efa5843cb5a4 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -228,7 +228,9 @@ public: DECLARE_XINTERFACE() //XTextTableCursor - virtual OUString SAL_CALL getRangeName( ) throw(::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL getRangeName() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual sal_Bool SAL_CALL gotoCellByName( const OUString& aCellName, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index a3b8a84bffbf..6b18d599526c 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1612,7 +1612,8 @@ SwXTextTableCursor::~SwXTextTableCursor() delete pUnoCrsr; } -OUString SwXTextTableCursor::getRangeName(void) throw( uno::RuntimeException ) +OUString SwXTextTableCursor::getRangeName() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aRet; |