summaryrefslogtreecommitdiffstats
path: root/icu/icu4c-3_8-setBreakType.patch
diff options
context:
space:
mode:
Diffstat (limited to 'icu/icu4c-3_8-setBreakType.patch')
-rw-r--r--icu/icu4c-3_8-setBreakType.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/icu/icu4c-3_8-setBreakType.patch b/icu/icu4c-3_8-setBreakType.patch
new file mode 100644
index 0000000..93eab5c
--- /dev/null
+++ b/icu/icu4c-3_8-setBreakType.patch
@@ -0,0 +1,28 @@
+--- icu/source/common/unicode/rbbi.h.mrl 2007-12-11 08:29:28.000000000 -0500
++++ icu/source/common/unicode/rbbi.h 2007-12-11 08:30:02.000000000 -0500
+@@ -633,6 +633,12 @@ public:
+ */
+ virtual const uint8_t *getBinaryRules(uint32_t &length);
+
++ /**
++ * Set the type of the break iterator.
++ * @internal
++ */
++ // <mrl> Must be public (OOo requirement)
++ virtual void setBreakType(int32_t type);
+
+ protected:
+ //=======================================================================
+@@ -664,12 +670,6 @@ protected:
+ #endif
+
+ /**
+- * Set the type of the break iterator.
+- * @internal
+- */
+- virtual void setBreakType(int32_t type);
+-
+- /**
+ * Common initialization function, used by constructors and bufferClone.
+ * (Also used by DictionaryBasedBreakIterator::createBufferClone().)
+ * @internal