summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/personalization.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 5399dab23768..1a9b02e3b1c5 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -381,7 +381,7 @@ void SvxPersonalizationTabPage::LoadDefaultImages()
{
OString aLine;
aStream.ReadLine( aLine );
- OUString aPersonaSetting( OStringToOUString( aLine, RTL_TEXTENCODING_UTF8 ) );
+ OUString aPersonaSetting( OUString::fromUtf8( aLine ) );
OUString aPreviewFile;
sal_Int32 nNewIndex = aPersonaSetting.indexOf( ';', 0 );
if( nNewIndex < 0 )