summaryrefslogtreecommitdiff
path: root/comphelper/source/property/propagg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/propagg.cxx')
-rw-r--r--comphelper/source/property/propagg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 5acf8a1dc2d5..f84649b3bf19 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -588,7 +588,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues(
else if (_rPropertyNames.getLength() == 1) // use the more efficient way
{
if (_rValues.getLength() != 1)
- throw IllegalArgumentException("lengths do not match", static_cast<XPropertySet*>(this),
+ throw IllegalArgumentException(u"lengths do not match"_ustr, static_cast<XPropertySet*>(this),
-1);
try
{
@@ -633,7 +633,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues(
else
{
if (_rValues.getLength() != nLen)
- throw IllegalArgumentException("lengths do not match",
+ throw IllegalArgumentException(u"lengths do not match"_ustr,
static_cast<XPropertySet*>(this), -1);
// aggregate's names