--- sw/source/filter/rtf/rtffld.cxx.MS_1252 2008-06-13 10:50:19 +0000 +++ sw/source/filter/rtf/rtffld.cxx 2008-09-23 18:36:24 +0000 @@ -70,6 +70,9 @@ #include #include #include +#ifndef _SV_SVAPP_HXX +#include +#endif // bestimme, ob es sich um ein IMPORT/TOC - Feld handelt. @@ -970,7 +973,7 @@ case RTF_RDBLQUOTE: cCh = 148; goto INSINGLECHAR; INSINGLECHAR: sFieldStr += ByteString::ConvertToUnicode( cCh, - RTL_TEXTENCODING_MS_1252 ); + Application::GetSettings().GetDefaultTextEncoding()); break; // kein Break, aToken wird als Text gesetzt @@ -1165,7 +1168,7 @@ case RTF_RDBLQUOTE: cCh = 148; goto INSINGLECHAR; INSINGLECHAR: sFieldStr += ByteString::ConvertToUnicode( cCh, - RTL_TEXTENCODING_MS_1252 ); + Application::GetSettings().GetDefaultTextEncoding()); break; // kein Break, aToken wird als Text gesetzt