summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-10 15:38:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-10 18:14:34 +0100
commit0e06dbd3a0ab36dac81227c0cc16ec8c303f0585 (patch)
treeb19a0bd9ff6a82d007c890080d813289e554b566 /comphelper
parentc30d2566d521cfc57aaaa4cf6e3f9ef69e847f3c (diff)
coverity#706284 Uncaught exception
Change-Id: I748d34fd7f56b1c9c739f15fbb596932484195a4
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/opropertybag.cxx2
1 files changed, 1 insertions, 1 deletions
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 );