diff options
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r-- | vcl/source/window/layout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 2a56ca99c00a..590525fe3b4d 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2220,9 +2220,9 @@ OUString MessageDialog::get_secondary_text() const bool MessageDialog::set_property(const OString &rKey, const OString &rValue) { if (rKey == "text") - set_primary_text(OUString::fromUtf8(rValue)); + set_primary_text(OStringToOUString(rValue, RTL_TEXTENCODING_UTF8)); else if (rKey == "secondary-text") - set_secondary_text(OUString::fromUtf8(rValue)); + set_secondary_text(OStringToOUString(rValue, RTL_TEXTENCODING_UTF8)); else if (rKey == "message-type") { VclMessageType eMode = VCL_MESSAGE_INFO; |