summaryrefslogtreecommitdiffstats
path: root/comphelper/source/property/propshlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/propshlp.cxx')
-rw-r--r--comphelper/source/property/propshlp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propshlp.cxx b/comphelper/source/property/propshlp.cxx
index 307f48a42cbc..b0139c747969 100644
--- a/comphelper/source/property/propshlp.cxx
+++ b/comphelper/source/property/propshlp.cxx
@@ -755,8 +755,8 @@ void OPropertySetHelper::setPropertyValues(const Sequence<OUString>& rPropertyNa
{
sal_Int32 nSeqLen = rPropertyNames.getLength();
if (nSeqLen != rValues.getLength())
- throw IllegalArgumentException("lengths do not match", static_cast<XPropertySet*>(this),
- -1);
+ throw IllegalArgumentException(u"lengths do not match"_ustr,
+ static_cast<XPropertySet*>(this), -1);
std::unique_ptr<sal_Int32[]> pHandles(new sal_Int32[nSeqLen]);
// get the map table
IPropertyArrayHelper& rPH = getInfoHelper();