diff options
Diffstat (limited to 'sdext/source/pdfimport/tree/style.cxx')
-rw-r--r-- | sdext/source/pdfimport/tree/style.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/style.cxx b/sdext/source/pdfimport/tree/style.cxx index 4e91dcf26a8c..e5fdf4501c2d 100644 --- a/sdext/source/pdfimport/tree/style.cxx +++ b/sdext/source/pdfimport/tree/style.cxx @@ -76,7 +76,7 @@ sal_Int32 StyleContainer::impl_getStyleId( const Style& rStyle, bool bSubStyle ) sal_Int32 StyleContainer::getStandardStyleId( const OString& rName ) { PropertyMap aProps; - aProps[ "style:family" ] = OStringToOUString( rName, RTL_TEXTENCODING_UTF8 ); + aProps[ "style:family" ] = OUString::fromUtf8( rName ); aProps[ "style:name" ] = "standard"; Style aStyle( "style:style", aProps ); |