summaryrefslogtreecommitdiff
path: root/vcl/source/control/fixedhyper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/fixedhyper.cxx')
-rw-r--r--vcl/source/control/fixedhyper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/fixedhyper.cxx b/vcl/source/control/fixedhyper.cxx
index 701c529985cf..6926a0c843c6 100644
--- a/vcl/source/control/fixedhyper.cxx
+++ b/vcl/source/control/fixedhyper.cxx
@@ -134,7 +134,7 @@ void FixedHyperlink::SetText(const OUString& rNewDescription)
bool FixedHyperlink::set_property(const OString &rKey, const OString &rValue)
{
if (rKey == "uri")
- SetURL(OUString::fromUtf8(rValue));
+ SetURL(OStringToOUString(rValue, RTL_TEXTENCODING_UTF8));
else
return FixedText::set_property(rKey, rValue);
return true;