openbsd-ports/textproc/icu4c/patches/patch-source_common_unicode_rbbi_h
robert d8f5d8b8b3 make the setBreakType function public. the diff has been extracted
from openoffice's diff, so we can switch to our icu4c;

tested by simon@, jasper@; ok jasper@
2008-05-04 12:01:42 +00:00

19 lines
652 B
Plaintext

$OpenBSD: patch-source_common_unicode_rbbi_h,v 1.1 2008/05/04 12:01:42 robert Exp $
--- source/common/unicode/rbbi.h.orig Thu May 1 13:24:31 2008
+++ source/common/unicode/rbbi.h Thu May 1 13:24:50 2008
@@ -611,12 +611,14 @@ class U_COMMON_API RuleBasedBreakIterator : public Bre
virtual int32_t getBreakType() const;
#endif
+public:
/**
* Set the type of the break iterator.
* @internal
*/
virtual void setBreakType(int32_t type);
+protected:
/**
* Common initialization function, used by constructors and bufferClone.
* (Also used by DictionaryBasedBreakIterator::createBufferClone().)