summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/ucbstorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/ucbstorage.cxx')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 21119b34ac8d..6f66c25b7621 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -3167,7 +3167,7 @@ OUString UCBStorage::GetLinkedFile( SvStream &rStream )
OString aTmp = read_uInt16_lenPrefixed_uInt8s_ToOString(rStream);
if (aTmp.match("ContentURL="))
{
- aString = OUString::fromUtf8(aTmp.copy(11));
+ aString = OStringToOUString(aTmp.copy(11), RTL_TEXTENCODING_UTF8);
}
}