--- sw/source/filter/ww8/wrtw8num.cxx.MS_1252 2008-07-08 08:29:48 +0000 +++ sw/source/filter/ww8/wrtw8num.cxx 2008-09-23 18:40:12 +0000 @@ -57,6 +57,10 @@ #include #endif +#ifndef _SV_SVAPP_HXX +#include +#endif + using namespace ::com::sun::star; using namespace sw::types; using namespace sw::util; @@ -720,7 +724,7 @@ { BYTE nb = 0; WW8Bytes aO; - SwWW8Writer::InsAsString8( aO, rStr, RTL_TEXTENCODING_MS_1252 ); + SwWW8Writer::InsAsString8( aO, rStr, Application::GetSettings().GetDefaultTextEncoding()); USHORT nCnt = aO.Count(); if( nCnt && nCnt < rCharLen )