diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:52:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:23 +0000 |
commit | 580475038043b21ac3d5618399e2634dc91395dc (patch) | |
tree | 54e4a83a0919fec1bf24f4ea3e28564f05000105 /sw | |
parent | c7675570469de801552da6f5ba50152d14ffa6ab (diff) |
coverity#738256 Uncaught exception
Change-Id: I41cedc756bbaa6f1382aaf40395f18176170402a
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 079f0fa49b51..26125a6baa39 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -485,7 +485,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); //XCellRangeData virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > > SAL_CALL getDataArray( ) throw (::com::sun::star::uno::RuntimeException); diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 4218f89c961b..08897f389f01 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -4644,7 +4644,8 @@ uno::Sequence< beans::PropertyValue > SwXCellRange::createSortDescriptor(void) t } void SAL_CALL SwXCellRange::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor) - throw( uno::RuntimeException ) + throw (uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; SwSortOptions aSortOpt; |