Index: svx/source/items/flditem.cxx =================================================================== RCS file: /cvs/graphics/svx/source/items/flditem.cxx,v retrieving revision 1.29 diff -u -r1.29 flditem.cxx --- svx/source/items/flditem.cxx 11 Apr 2008 01:53:35 -0000 1.29 +++ svx/source/items/flditem.cxx 15 Dec 2008 12:43:30 -0000 @@ -396,7 +396,6 @@ // read to a temp string first, read text encoding and // convert later to stay compatible to fileformat ByteString aTempString; - rtl_TextEncoding aTempEncoding = RTL_TEXTENCODING_MS_1252; // #101493# Init for old documents rStm.ReadByteString(aTempString); rStm >> nFrameMarker; @@ -410,9 +409,6 @@ { USHORT nCharSet; rStm >> nCharSet; - - // remember encoding - aTempEncoding = (rtl_TextEncoding)nCharSet; } else rStm.SeekRel( -nUlongSize ); @@ -421,7 +417,7 @@ rStm.SeekRel( -nUlongSize ); // now build representation string due to known encoding - aRepresentation = String(aTempString, aTempEncoding); + aRepresentation = String(aTempString, RTL_TEXTENCODING_UTF8); eFormat= (SvxURLFormat)nFormat;