coverity#737430 Uncaught exception

Change-Id: I1db24114b331970d75b01c0869708b1656be3836
This commit is contained in:
Caolán McNamara
2014-02-24 12:55:01 +00:00
parent 8fca5e299c
commit 0a3526f61f
2 changed files with 4 additions and 3 deletions

View File

@@ -472,7 +472,8 @@ public:
// XModifyBroadcaster
virtual void SAL_CALL addModifyListener( const ::com::sun::star::uno::Reference<
::com::sun::star::util::XModifyListener >& aListener )
throw (::com::sun::star::uno::RuntimeException);
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL removeModifyListener( const ::com::sun::star::uno::Reference<
::com::sun::star::util::XModifyListener >& aListener )
throw (::com::sun::star::uno::RuntimeException);

View File

@@ -3395,8 +3395,8 @@ sal_Bool SAL_CALL ScCellRangesBase::isNotANumber( double nNumber ) throw(uno::Ru
// XModifyBroadcaster
void SAL_CALL ScCellRangesBase::addModifyListener( const uno::Reference<util::XModifyListener>& aListener )
throw(uno::RuntimeException)
void SAL_CALL ScCellRangesBase::addModifyListener(const uno::Reference<util::XModifyListener>& aListener)
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if ( aRanges.empty() )