From 1b4856158617f574665cd5e147be105520adaa75 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 28 May 2014 12:20:55 +0100 Subject: coverity#706231 Uncaught exception Change-Id: I1f1acb91a97ff7c9fb50ad36eca7b91d361a1276 --- basic/source/classes/propacc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic') diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index 913237ca2439..dbcec4c25980 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -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) -- cgit