From 0e06dbd3a0ab36dac81227c0cc16ec8c303f0585 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 Oct 2014 15:38:27 +0100 Subject: coverity#706284 Uncaught exception Change-Id: I748d34fd7f56b1c9c739f15fbb596932484195a4 --- comphelper/source/property/opropertybag.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx index b3f3b279c118..1ef446d6b6ba 100644 --- a/comphelper/source/property/opropertybag.cxx +++ b/comphelper/source/property/opropertybag.cxx @@ -248,7 +248,7 @@ namespace comphelper if ( !m_aAllowedTypes.empty() && m_aAllowedTypes.find( aProperty.Type ) == m_aAllowedTypes.end() ) - throw IllegalTypeException( OUString(), *this ); + throw IllegalArgumentException( OUString(), *this, 1 ); m_aDynamicProperties.addVoidProperty( aProperty.Name, aProperty.Type, findFreeHandle(), aProperty.Attributes ); -- cgit