diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 08:46:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:40:03 +0100 |
commit | 06bd4e49ead2b7b195bfb1bd6ddccc29f7e6628b (patch) | |
tree | 4708abd9531d4cd1e1699b766070aa6bcd50ea06 | |
parent | af705c172ef3fe18238489cffe0187ffff46a70e (diff) |
coverity#707312 Uncaught exception
Change-Id: I6fdd99892bda502f7cfab2acd53120834dd390c6
-rw-r--r-- | sw/inc/unotext.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index cfb25c21c610..2b60060ef27a 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -277,8 +277,9 @@ public: ::com::sun::star::text::XTextRange >& xEnd, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xFrameProperties) - throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::lang::IllegalArgumentException, + css::beans::UnknownPropertyException, + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextTable > SAL_CALL convertToTable( diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 8bb4612735f8..8b75251e49ba 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1528,7 +1528,8 @@ SwXText::convertToTextFrame( const uno::Reference< text::XTextRange >& xStart, const uno::Reference< text::XTextRange >& xEnd, const uno::Sequence< beans::PropertyValue >& rFrameProperties) -throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) + throw (lang::IllegalArgumentException, beans::UnknownPropertyException, + uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; |