diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:07:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:41:36 +0000 |
commit | f5babb88f202d1e170be7047f91bb900de1c680a (patch) | |
tree | 4dfbbb4ec4afea2ad943cadf2725faa00369b9a4 | |
parent | 04db0fdcac38b5f78a2b52396de1d5b48ea706a0 (diff) |
coverity#737564 Uncaught exception
Change-Id: Ibe61884b5930cc7bdd449c472171c1b0e710b75f
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index a5d7f7275d9e..7c8b5ad9a228 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -170,7 +170,8 @@ public: const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xOptions ) throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL render( sal_Int32 nRenderer, const ::com::sun::star::uno::Any& aSelection, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xOptions ) diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 75c5fa687a48..e6ad2a8d6236 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -985,7 +985,9 @@ static sal_Int32 lcl_GetRendererNum( sal_Int32 nSelRenderer, const OUString& rPa uno::Sequence<beans::PropertyValue> SAL_CALL ScModelObj::getRenderer( sal_Int32 nSelRenderer, const uno::Any& aSelection, const uno::Sequence<beans::PropertyValue>& rOptions ) - throw (lang::IllegalArgumentException, uno::RuntimeException) + throw (lang::IllegalArgumentException, + uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; if (!pDocShell) |