coverity#737504 Uncaught exception

Change-Id: I3cfa8ba3baaf071e4300b12c8bbcba4c652ee309
This commit is contained in:
Caolán McNamara
2014-02-24 13:27:35 +00:00
parent 9a8a4b81b6
commit 1d250c95dd
2 changed files with 6 additions and 4 deletions

View File

@@ -528,9 +528,10 @@ public:
::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
const OUString& PropertyName )
throw(::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException);
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertyChangeListener >& xListener )

View File

@@ -1984,7 +1984,8 @@ void SAL_CALL ScDataPilotFieldObj::setPropertyValue( const OUString& aPropertyNa
}
Any SAL_CALL ScDataPilotFieldObj::getPropertyValue( const OUString& aPropertyName )
throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
throw (UnknownPropertyException, WrappedTargetException,
RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
OUString aNameString(aPropertyName);