coverity#706282 Uncaught exception

Change-Id: Icca233fdc6d841d1bf51f918b83f3eef2cd5952e
This commit is contained in:
Caolán McNamara 2014-07-11 20:19:37 +01:00
parent b03675889d
commit 136fa5432d

View file

@ -227,7 +227,7 @@ void SAL_CALL MasterPropertySet::setPropertyValues( const Sequence< OUString >&
{
aIter = mpInfo->maMap.find ( *pString );
if ( aIter == aEnd )
throw UnknownPropertyException( *pString, static_cast< XPropertySet* >( this ) );
throw RuntimeException( *pString, static_cast< XPropertySet* >( this ) );
if ( (*aIter).second->mnMapId == 0 ) // 0 means it's one of ours !
_setSingleValue( *((*aIter).second->mpInfo), *pAny );