diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 13:10:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:27:39 +0000 |
commit | 79b8b730b9441d919319c1d6090194c7f16fd89b (patch) | |
tree | 4a40b704b7ee76e0426e9b6ba530a42c6feedca3 | |
parent | cc12c920f7cc7ba38251f177c5d3a7813cbf6e28 (diff) |
coverity#738277 Uncaught exception
Change-Id: I40f7e40e94b440b055da8bb4821d42e9aae98577
-rw-r--r-- | sw/inc/unotbl.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 01c1bcf1bf17..6aa57a609900 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -368,7 +368,9 @@ public: //XSortable virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL createSortDescriptor(void) throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL sort(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xDescriptor) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL sort(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xDescriptor) + throw (::com::sun::star::uno::RuntimeException, + std::exception); //XAutoFormattable virtual void SAL_CALL autoFormat(const OUString& aName) diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index f62ba8435dd8..7705d6f46009 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -3009,7 +3009,7 @@ uno::Sequence< beans::PropertyValue > SwXTextTable::createSortDescriptor(void) } void SwXTextTable::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor) - throw( uno::RuntimeException ) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; SwSortOptions aSortOpt; |