--- sw.orig/source/filter/ww8/ww8par6.cxx 2006-12-03 11:48:33.000000000 +0300 +++ sw/source/filter/ww8/ww8par6.cxx 2006-12-04 01:07:48.000000000 +0300 @@ -277,6 +277,10 @@ #include #endif +#ifndef _SV_SVAPP_HXX +#include +#endif + using namespace sw::util; using namespace sw::types; //----------------------------------------- @@ -2904,7 +2908,7 @@ if( bVer67 ) { cSymbol = ByteString::ConvertToUnicode( - *(sal_Char*)(pData+2), RTL_TEXTENCODING_MS_1252 ); + *(sal_Char*)(pData+2), Application::GetSettings().GetDefaultTextEncoding()); } else cSymbol = SVBT16ToShort( pData+2 );