diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 00:03:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 08:54:40 +0100 |
commit | 4f7bb219c0a9b377c05c091575e97097e41ec41a (patch) | |
tree | 8a93f486a79be28c109209271ed32d9a982ace4a /sd | |
parent | use read_uInt8s_AsOString here (diff) | |
download | core-4f7bb219c0a9b377c05c091575e97097e41ec41a.tar.gz core-4f7bb219c0a9b377c05c091575e97097e41ec41a.zip |
surely a terrible idea to use a random system encoding here
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 9dc3cab2237b..8e3a424e99d4 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -2597,7 +2597,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a if ( ( nStringLen > 1 ) && ( ( xCompObj->Tell() + nStringLen ) < nStreamLen ) ) { // i think that the OleIdentifier will follow rtl::OString aTemp = read_uInt8s_AsOString(*xCompObj, nStringLen - 1); - aOleIdentifier = rtl::OStringToOUString( aTemp, gsl_getSystemTextEncoding() ); + aOleIdentifier = rtl::OStringToOUString(aTemp, RTL_TEXTENCODING_MS_1252); } } } |