i18npool/source/breakiterator/breakiterator_th.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 462df4920ef50032c8f99a9db2ca34c9cc928657 Author: Khaled Hosny <khaledho...@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)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits