diff options
author | Release Engineers <releng@openoffice.org> | 2009-08-06 18:13:57 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-08-06 18:13:57 +0000 |
commit | e1ad946ef5db3f7c0a540207d0f0fd85799e3b66 (patch) | |
tree | 4c45e855d4c95fcc62166400f546effceef25788 /i18npool/source/breakiterator/breakiterator_ctl.cxx | |
parent | 9732a509373732db8036bab56ad404ef69d62510 (diff) |
CWS-TOOLING: integrate CWS tl73
2009-07-31 15:29:33 +0200 tl r274535 : #i64400# dash/hyphen should not break words
Diffstat (limited to 'i18npool/source/breakiterator/breakiterator_ctl.cxx')
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_ctl.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_ctl.cxx b/i18npool/source/breakiterator/breakiterator_ctl.cxx index a42014615f1a..0e1bee869cac 100644 --- a/i18npool/source/breakiterator/breakiterator_ctl.cxx +++ b/i18npool/source/breakiterator/breakiterator_ctl.cxx @@ -45,11 +45,14 @@ namespace com { namespace sun { namespace star { namespace i18n { /** * Constructor. */ -BreakIterator_CTL::BreakIterator_CTL() +BreakIterator_CTL::BreakIterator_CTL() : + cachedText(), + nextCellIndex( NULL ), + previousCellIndex( NULL ), + cellIndexSize( 512 ) { cBreakIterator = "com.sun.star.i18n.BreakIterator_CTL"; // to improve performance, alloc big enough memory in construct. - cellIndexSize = 512; nextCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); previousCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); memset(nextCellIndex, 0, cellIndexSize * sizeof(sal_Int32)); |