Репозитории ALT
5.1: | 3.2.0.7-alt0.M51.1 |
4.1: | 3.0.0.10-alt1.M41.1 |
4.0: | 2.4.1.7-alt0.M40.1 |
3.0: | 1.1.5-alt1 |
Группа :: Офис
Пакет: openoffice.org
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openoffice.org-3.0.0-infra-406-sw_source_filter_ww8_wrtw8num.diff
Скачать
Скачать
--- 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 <fstream>
#endif
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#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 )