diff options
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index c83db0b4a1d5..191d06c943e0 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1018,8 +1018,7 @@ void FontNameBox::LoadMRUEntries( const OUString& aFontMRUEntriesFile, sal_Unico OString aLine; aStream.ReadLine( aLine ); - OUString aEntries = OStringToOUString(aLine, - RTL_TEXTENCODING_UTF8); + OUString aEntries = OUString::fromUtf8(aLine); SetMRUEntries( aEntries, cSep ); } |