summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-06-22 12:17:29 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-06-22 12:17:29 +0200
commit462df4920ef50032c8f99a9db2ca34c9cc928657 (patch)
tree8ef734f27f6fcae1865a4f8e02d0eab9472a992d /i18npool
parentd6fd801c62e41c1fb229cbe97c0ef767705de304 (diff)
Fix indentation
Change-Id: I33c9f4390c493fcc89bcd42529c026a9a76fb697
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/breakiterator_th.cxx10
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));