diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpdrawobj.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpdrawobj.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx index 19649affe271..08688aa6037c 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.cxx +++ b/lotuswordpro/source/filter/lwpdrawobj.cxx @@ -1073,9 +1073,8 @@ OUString LwpDrawTextBox::RegisterStyle() // the pFont need to be deleted myself? rtl::Reference<XFFont> pFont = new XFFont(); - rtl_TextEncoding aEncoding = RTL_TEXTENCODING_MS_1252; OUString aFontName = OUString(reinterpret_cast<char*>(m_aTextRec.tmpTextFaceName), - strlen(reinterpret_cast<char*>(m_aTextRec.tmpTextFaceName)), aEncoding); + strlen(reinterpret_cast<char*>(m_aTextRec.tmpTextFaceName)), RTL_TEXTENCODING_MS_1252); pFont->SetFontName(aFontName); SetFontStyle(pFont, &m_aTextRec); @@ -1278,9 +1277,8 @@ OUString LwpDrawTextArt::RegisterStyle() // the pFont need to be deleted myself? rtl::Reference<XFFont> pFont = new XFFont(); - rtl_TextEncoding aEncoding = RTL_TEXTENCODING_MS_1252; OUString aFontName = OUString(reinterpret_cast<char*>(m_aTextArtRec.tmpTextFaceName), - strlen(reinterpret_cast<char*>(m_aTextArtRec.tmpTextFaceName)), aEncoding); + strlen(reinterpret_cast<char*>(m_aTextArtRec.tmpTextFaceName)), RTL_TEXTENCODING_MS_1252); pFont->SetFontName(aFontName); LwpDrawTextBox::SetFontStyle(pFont, &m_aTextArtRec); |