diff options
-rw-r--r-- | sc/inc/funcuno.hxx | 7 | ||||
-rw-r--r-- | sc/source/ui/unoobj/funcuno.cxx | 4 |
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; |