summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/helper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/helper.cxx')
-rw-r--r--sfx2/source/bastyp/helper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index e00e6cb266d5..de879ad93d73 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -207,7 +207,7 @@ OUString SfxContentHelper::GetActiveHelpString( const OUString& rURL )
while ( nRead > 0 )
{
OString sOldString( (sal_Char*)lData.getConstArray(), nRead );
- OUString sString = OStringToOUString( sOldString, RTL_TEXTENCODING_UTF8 );
+ OUString sString = OUString::fromUtf8( sOldString );
aRet.append( sString );
nRead = xStream->readBytes( lData, 1024 );