diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 09:22:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 09:46:18 +0000 |
commit | 64125a0b87c51f34ac8fa148749807d5deaed3d2 (patch) | |
tree | a9128a393d09c879a3e56bed7cff67623571516b /sc | |
parent | bfd17da03a138cbf911a3e080407c0bbdd9bef22 (diff) |
coverity#1158389 Uncaught exception
Change-Id: I943e33bfd40378da63661ce34ca8d4638018bcd1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index a8b6b261f9cd..da23e4e1b868 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -163,7 +163,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 ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getRenderer( sal_Int32 nRenderer, const ::com::sun::star::uno::Any& aSelection, const ::com::sun::star::uno::Sequence< diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 823c12cbcacf..088a7a9b6e4a 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -932,9 +932,9 @@ bool ScModelObj::FillRenderMarkData( const uno::Any& aSelection, } -sal_Int32 SAL_CALL ScModelObj::getRendererCount( const uno::Any& aSelection, - const uno::Sequence<beans::PropertyValue>& rOptions ) - throw (lang::IllegalArgumentException, uno::RuntimeException) +sal_Int32 SAL_CALL ScModelObj::getRendererCount(const uno::Any& aSelection, + const uno::Sequence<beans::PropertyValue>& rOptions) + throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (!pDocShell) |