diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 15:38:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 18:14:34 +0100 |
commit | 0e06dbd3a0ab36dac81227c0cc16ec8c303f0585 (patch) | |
tree | b19a0bd9ff6a82d007c890080d813289e554b566 /comphelper | |
parent | c30d2566d521cfc57aaaa4cf6e3f9ef69e847f3c (diff) |
coverity#706284 Uncaught exception
Change-Id: I748d34fd7f56b1c9c739f15fbb596932484195a4
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/property/opropertybag.cxx | 2 |
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 ); |