diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-08 17:24:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-08 17:34:09 +0200 |
commit | 21fea27309a75b86add08918d2a2a2234ae1f1fb (patch) | |
tree | b3a29a13dd7edbec107378088dd795269532c78e /icu | |
parent | d171099fdcb8951c2c93325c950bb416d5e13c1f (diff) |
Make icu's DefaultCharMapper usable on Windows
....see
<http://lists.freedesktop.org/archives/libreoffice/2013-April/049570.html> "Re:
[Libreoffice-commits] core.git: fix fdo#60534 : use DefaultCharMapper::mapChar()
to map RTL string unicodes" for details.
Change-Id: Iaac2457643e58b2c5972eb812edb1dd6619437be
Diffstat (limited to 'icu')
-rw-r--r-- | icu/DefaultCharMapper.patch.0 | 22 | ||||
-rw-r--r-- | icu/UnpackedTarball_icu.mk | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/icu/DefaultCharMapper.patch.0 b/icu/DefaultCharMapper.patch.0 new file mode 100644 index 000000000000..f56d2d7acf74 --- /dev/null +++ b/icu/DefaultCharMapper.patch.0 @@ -0,0 +1,22 @@ +--- source/layout/DefaultCharMapper.h 2013-03-15 23:16:44.000000000 +0100 ++++ source/layout/DefaultCharMapper.h 2013-04-08 17:18:39.710138077 +0200 +@@ -23,7 +23,7 @@ + * + * @see LECharMapper + */ +-class DefaultCharMapper : public UMemory, public LECharMapper ++class U_LAYOUT_API DefaultCharMapper : public UMemory, public LECharMapper + { + private: + le_bool fFilterControls; +--- source/layout/LEFontInstance.h 2013-03-15 23:16:42.000000000 +0100 ++++ source/layout/LEFontInstance.h 2013-04-08 17:18:40.826139346 +0200 +@@ -25,7 +25,7 @@ + * + * @stable ICU 3.2 + */ +-class LECharMapper /* not : public UObject because this is an interface/mixin class */ ++class U_LAYOUT_API LECharMapper /* not : public UObject because this is an interface/mixin class */ + { + public: + /** diff --git a/icu/UnpackedTarball_icu.mk b/icu/UnpackedTarball_icu.mk index 35c95c498ad2..965c324b8185 100644 --- a/icu/UnpackedTarball_icu.mk +++ b/icu/UnpackedTarball_icu.mk @@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\ icu/icu4c-mkdir.patch \ icu/icu4c-buffer-overflow.patch \ icu/icu4c-$(if $(filter ANDROID,$(OS)),android,rpath).patch \ + icu/DefaultCharMapper.patch.0 \ )) # vim: set noet sw=4 ts=4: |