Kaydet (Commit) 1b485615 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706231 Uncaught exception

Change-Id: I1f1acb91a97ff7c9fb50ad36eca7b91d361a1276
üst d1c950a2
...@@ -177,7 +177,7 @@ void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPrope ...@@ -177,7 +177,7 @@ void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPrope
::com::sun::star::uno::RuntimeException, std::exception) ::com::sun::star::uno::RuntimeException, std::exception)
{ {
if ( !m_aPropVals.empty() ) if ( !m_aPropVals.empty() )
throw PropertyExistException(); throw IllegalArgumentException();
const PropertyValue *pPropVals = rPropertyValues.getConstArray(); const PropertyValue *pPropVals = rPropertyValues.getConstArray();
for (sal_Int32 n = 0; n < rPropertyValues.getLength(); ++n) for (sal_Int32 n = 0; n < rPropertyValues.getLength(); ++n)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment