Репозитории 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-2.4.0-infra-397-sc_source_filter_excel_excel.diff
Скачать
Скачать
--- sc.orig/source/filter/excel/excel.cxx 2006-12-04 02:16:20.000000000 +0300
+++ sc/source/filter/excel/excel.cxx 2006-12-04 02:19:15.614189390 +0300
@@ -82,6 +82,11 @@
#include "excimp8.hxx"
#include "exp_op.hxx"
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
+
FltError ScImportExcel( SfxMedium& r, ScDocument* p )
{
@@ -174,7 +179,7 @@
{
pBookStrm->SetBufferSize( 0x8000 ); // still needed?
- XclImpRootData aImpData( eBiff, rMedium, xRootStrg, *pDocument, RTL_TEXTENCODING_MS_1252 );
+ XclImpRootData aImpData( eBiff, rMedium, xRootStrg, *pDocument, Application::GetSettings().GetDefaultTextEncoding());
::std::auto_ptr< ImportExcel > xFilter;
switch( eBiff )
{