diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-06-22 12:17:29 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2013-06-22 12:17:29 +0200 |
commit | 462df4920ef50032c8f99a9db2ca34c9cc928657 (patch) | |
tree | 8ef734f27f6fcae1865a4f8e02d0eab9472a992d /i18npool | |
parent | Fix indentation (diff) | |
download | core-462df4920ef50032c8f99a9db2ca34c9cc928657.tar.gz core-462df4920ef50032c8f99a9db2ca34c9cc928657.zip |
Fix indentation
Change-Id: I33c9f4390c493fcc89bcd42529c026a9a76fb697
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_th.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx index b5683d254a2f..2e8dfa9b2c83 100644 --- a/i18npool/source/breakiterator/breakiterator_th.cxx +++ b/i18npool/source/breakiterator/breakiterator_th.cxx @@ -110,11 +110,11 @@ void SAL_CALL BreakIterator_th::makeIndex(const OUString& Text, sal_Int32 nStart if (Text != cachedText) { cachedText = Text; if (cellIndexSize < cachedText.getLength()) { - cellIndexSize = cachedText.getLength(); - free(nextCellIndex); - free(previousCellIndex); - nextCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); - previousCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); + cellIndexSize = cachedText.getLength(); + free(nextCellIndex); + free(previousCellIndex); + nextCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); + previousCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32)); } // reset nextCell for new Text memset(nextCellIndex, 0, cellIndexSize * sizeof(sal_Int32)); |