From 12d37e930b5b38531ebb618e50583c544c0876ab Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 17 Nov 2005 19:30:00 +0000
Subject: [PATCH] INTEGRATION: CWS i18n23 (1.10.22); FILE MERGED 2005/11/17
19:47:08 khong 1.10.22.2: #i57866# merge cws i18n23 and thaiissues 2005/11/15
21:10:42 khong 1.10.22.1: #i57866# fix line breakiterator problem
---
i18npool/inc/breakiterator_unicode.hxx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx
index 95226b49aafb..0946b3a6d988 100644
--- a/i18npool/inc/breakiterator_unicode.hxx
+++ b/i18npool/inc/breakiterator_unicode.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: breakiterator_unicode.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: obo $ $Date: 2005-11-16 10:17:20 $
+ * last change: $Author: hr $ $Date: 2005-11-17 20:30:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,9 +90,11 @@ protected:
const sal_Char *cBreakIterator, *wordRule, *lineRule;
Boundary result; // for word break iterator
- rtl::OUString aText;
+ struct {
+ rtl::OUString aText;
+ icu::BreakIterator *aBreakIterator;
+ } character, word, sentence, line, *icuBI;
com::sun::star::lang::Locale aLocale;
- icu::BreakIterator *aBreakIterator;
sal_Int16 aBreakType, aWordType;
void SAL_CALL loadICUBreakIterator(const com::sun::star::lang::Locale& rLocale,
sal_Int16 rBreakType, sal_Int16 rWordType, const sal_Char* name, const rtl::OUString& rText) throw(com::sun::star::uno::RuntimeException);