diff options
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index cfc2ca735d90..ffe94bfd11c2 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -231,7 +231,7 @@ bool Edit::set_property(const OString &rKey, const OString &rValue) SetStyle(nBits); } else if (rKey == "placeholder-text") - SetPlaceholderText(OUString::fromUtf8(rValue)); + SetPlaceholderText(OStringToOUString(rValue, RTL_TEXTENCODING_UTF8)); else return Control::set_property(rKey, rValue); return true; |