Репозитории 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-398-sc_source_filter_excel_xistream.diff
Скачать
Скачать
--- sc.orig/source/filter/excel/xistream.cxx 2006-12-04 02:16:20.000000000 +0300
+++ sc/source/filter/excel/xistream.cxx 2006-12-04 02:20:02.440211841 +0300
@@ -49,6 +49,11 @@
#include "xiroot.hxx"
#endif
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
+
// ============================================================================
// Decryption
// ============================================================================
@@ -123,7 +128,7 @@
if( !IsValid() )
{
//! TODO: correct byte string encoding in all cases?
- ByteString aPass( rRoot.QueryPassword(), RTL_TEXTENCODING_MS_1252 );
+ ByteString aPass( rRoot.QueryPassword(), Application::GetSettings().GetDefaultTextEncoding());
Init( aPass, nKey, nHash );
}
}