[Libreoffice-commits] core.git: i18npool/source
Khaled Hosny
khaledhosny at eglug.org
Sat Jun 22 03:17:56 PDT 2013
i18npool/source/breakiterator/breakiterator_th.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 462df4920ef50032c8f99a9db2ca34c9cc928657
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Sat Jun 22 12:17:29 2013 +0200
Fix indentation
Change-Id: I33c9f4390c493fcc89bcd42529c026a9a76fb697
diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx
index b5683d2..2e8dfa9 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));
More information about the Libreoffice-commits
mailing list