coverity#169849 Uncaught exception
Change-Id: I7c41fcd5be19ed9a0ba7e06920da4eadd0ea15a9
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx
index 53507d6..ca20f18 100644
--- a/sc/inc/styleuno.hxx
+++ b/sc/inc/styleuno.hxx
@@ -325,7 +325,8 @@ public:
::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName )
throw(::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::uno::RuntimeException);
::com::sun::star::uno::RuntimeException,
std::exception);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault(
const OUString& aPropertyName )
throw(::com::sun::star::beans::UnknownPropertyException,
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 8c2c60f..6205774 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -1252,7 +1252,8 @@ uno::Sequence<beans::PropertyState> SAL_CALL ScStyleObj::getPropertyStates(
}
void SAL_CALL ScStyleObj::setPropertyToDefault( const OUString& aPropertyName )
throw(beans::UnknownPropertyException, uno::RuntimeException)
throw(beans::UnknownPropertyException, uno::RuntimeException,
std::exception)
{
SolarMutexGuard aGuard;