summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:03:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:19 +0000
commit9e03658551fc9f7a5f3cb46b0f58bca04b61b259 (patch)
treeb3cc0738009ecff1f0bb545e594e8d893944b4b4
parenteddc4b1046c391157d9672636870f5e8d31ba86f (diff)
coverity#737615 Uncaught exception
Change-Id: I9005fcdec6e258d274657b44786e3a2729418005
-rw-r--r--sc/inc/funcuno.hxx7
-rw-r--r--sc/source/ui/unoobj/funcuno.cxx4
2 files changed, 6 insertions, 5 deletions
diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx
index 96fe3c1be560..6dd8a8211e38 100644
--- a/sc/inc/funcuno.hxx
+++ b/sc/inc/funcuno.hxx
@@ -81,9 +81,10 @@ public:
const OUString& aName,
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Any >& aArguments )
- throw(::com::sun::star::container::NoSuchElementException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::container::NoSuchElementException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index db56e8196dda..bc7571a335d8 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -487,8 +487,8 @@ static void processSequences( ScDocument* pDoc, const uno::Any& rArg, ScTokenArr
uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName,
const uno::Sequence<uno::Any>& aArguments )
- throw(container::NoSuchElementException, lang::IllegalArgumentException,
- uno::RuntimeException)
+ throw (container::NoSuchElementException, lang::IllegalArgumentException,
+ uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;