coverity#706231 Uncaught exception

Change-Id: I1f1acb91a97ff7c9fb50ad36eca7b91d361a1276
This commit is contained in:
Caolán McNamara 2014-05-28 12:20:55 +01:00
parent d1c950a2b1
commit 1b48561586

View file

@ -177,7 +177,7 @@ void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPrope
::com::sun::star::uno::RuntimeException, std::exception)
{
if ( !m_aPropVals.empty() )
throw PropertyExistException();
throw IllegalArgumentException();
const PropertyValue *pPropVals = rPropertyValues.getConstArray();
for (sal_Int32 n = 0; n < rPropertyValues.getLength(); ++n)