diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 18:16:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 18:18:06 +0100 |
commit | fced31697bcc2a2a4da34d804582002de0320302 (patch) | |
tree | a8db100cf5c2202214db2d1ba79022e900f652fb /include/comphelper | |
parent | 49329e371c0a5f1fe7e605841109cab02e053b1a (diff) |
comphelper::SequenceAsHashMap: throw IllegalArgumentException
...instead of IllegalTypeException (where the latter is not a RuntimeException).
Fixes cid#707218, cid#1224993, etc., and reverts previous fix
358f5280e0f6afb968edc295d8f1dce55f05e18f "Fix coverity#1224993 w/o breaking
JunitTest_framework_unoapi."
Change-Id: I13ce153e1513749fb0be2ee8e560cec86a30c5ba
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/sequenceashashmap.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/comphelper/sequenceashashmap.hxx b/include/comphelper/sequenceashashmap.hxx index 38cf734d56ad..7d9cdfdc5d20 100644 --- a/include/comphelper/sequenceashashmap.hxx +++ b/include/comphelper/sequenceashashmap.hxx @@ -27,7 +27,6 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/beans/IllegalTypeException.hpp> #include <comphelper/comphelperdllapi.h> @@ -99,7 +98,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase @param aSource contains the new items for this map. - @throw An com::sun::star::beans::IllegalTypeException + @throw An com::sun::star::lang::IllegalArgumentException is thrown, if the given any does not contain a suitable sequence ... but not if it's a VOID Any! */ @@ -114,7 +113,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase @param lSource contains the new items for this map. - @throw An com::sun::star::beans::IllegalTypeException + @throw An com::sun::star::lang::IllegalArgumentException is thrown, if the given any sequence uses wrong types for its items. VOID Any will be ignored! */ |