Репозитории 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-400-sw_source_filter_rtf_rtffld.diff
Скачать
Скачать
--- sw/source/filter/rtf/rtffld.cxx.MS_1252 2008-06-13 10:50:19 +0000
+++ sw/source/filter/rtf/rtffld.cxx 2008-09-23 18:36:24 +0000
@@ -70,6 +70,9 @@
#include <reffld.hxx>
#include <SwStyleNameMapper.hxx>
#include <svx/charhiddenitem.hxx>
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
// bestimme, ob es sich um ein IMPORT/TOC - Feld handelt.
@@ -970,7 +973,7 @@
case RTF_RDBLQUOTE: cCh = 148; goto INSINGLECHAR;
INSINGLECHAR:
sFieldStr += ByteString::ConvertToUnicode( cCh,
- RTL_TEXTENCODING_MS_1252 );
+ Application::GetSettings().GetDefaultTextEncoding());
break;
// kein Break, aToken wird als Text gesetzt
@@ -1165,7 +1168,7 @@
case RTF_RDBLQUOTE: cCh = 148; goto INSINGLECHAR;
INSINGLECHAR:
sFieldStr += ByteString::ConvertToUnicode( cCh,
- RTL_TEXTENCODING_MS_1252 );
+ Application::GetSettings().GetDefaultTextEncoding());
break;
// kein Break, aToken wird als Text gesetzt