diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:46:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:53:13 +0000 |
commit | e2abad8add51b5cf23f415c7d72097124f29e2cf (patch) | |
tree | f0752458d55ef41f8c183cf901bb93e7856f4179 | |
parent | 687f46d608ba2f5c0d9c55c5e013e2afd74f8d3a (diff) |
coverity#737355 Uncaught exception
Change-Id: Ib6b54de2a02fedd42fa28155762b4d3c25957607
-rw-r--r-- | sc/inc/appluno.hxx | 11 | ||||
-rw-r--r-- | sc/source/ui/unoobj/appluno.cxx | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx index 66095512af63..e7acf564e70c 100644 --- a/sc/inc/appluno.hxx +++ b/sc/inc/appluno.hxx @@ -156,11 +156,12 @@ public: throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) - throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::beans::PropertyVetoException, - ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::beans::PropertyVetoException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx index 19a9703d6283..3f8a7655bbe0 100644 --- a/sc/source/ui/unoobj/appluno.cxx +++ b/sc/source/ui/unoobj/appluno.cxx @@ -453,9 +453,9 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScSpreadsheetSettings::getPrope void SAL_CALL ScSpreadsheetSettings::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue ) - throw(beans::UnknownPropertyException, beans::PropertyVetoException, - lang::IllegalArgumentException, lang::WrappedTargetException, - uno::RuntimeException) + throw (beans::UnknownPropertyException, beans::PropertyVetoException, + lang::IllegalArgumentException, lang::WrappedTargetException, + uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aString(aPropertyName); |