Репозитории 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-405-sw_source_filter_ww8_wrtw8nds.diff
Скачать
Скачать
--- sw/source/filter/ww8/wrtw8nds.cxx.MS_1252 2008-09-23 15:44:48 +0000
+++ sw/source/filter/ww8/wrtw8nds.cxx 2008-09-23 18:38:49 +0000
@@ -108,6 +108,10 @@
#include <bookmrk.hxx>
#endif
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::i18n;
using namespace sw::util;
@@ -971,7 +975,7 @@
rWrt.pDataStrm->Write( MAGIC_C, sizeof(MAGIC_C) );
SwWW8Writer::WriteLong( *rWrt.pDataStrm, sURL.Len()+1 );
SwWW8Writer::WriteString8( *rWrt.pDataStrm, sURL, true,
- RTL_TEXTENCODING_MS_1252 );
+ Application::GetSettings().GetDefaultTextEncoding());
rWrt.pDataStrm->Write( MAGIC_D, sizeof( MAGIC_D) );
SwWW8Writer::WriteLong( *rWrt.pDataStrm, 2*sURL.Len()+6);
@@ -1056,7 +1060,7 @@
rWrt.pChpPlc->AppendFkpEntry( rWrt.Strm().Tell(), aItems.Count(),
aItems.GetData() );
rWrt.OutSwString( rTxt, 0, rTxt.Len(), rWrt.IsUnicode(),
- RTL_TEXTENCODING_MS_1252 );
+ Application::GetSettings().GetDefaultTextEncoding());
rWrt.pChpPlc->AppendFkpEntry( rWrt.Strm().Tell(), nStt_sprmCFSpec,
aItems.GetData() );
rWrt.WriteChar( '\x15' );