[Libreoffice-commits] core.git: i18npool/source
Khaled Hosny
khaledhosny at eglug.org
Mon Oct 28 12:06:16 PDT 2013
i18npool/source/breakiterator/breakiterator_th.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit e629b148afaa161acbad76a90851bb2f481817c8
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Mon Oct 28 20:06:50 2013 +0200
Fix indentation
Change-Id: I2bef2334392dba63f86b24917a50bf1eb0df98dc
diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx
index 82d7b53..3e9babb 100644
--- a/i18npool/source/breakiterator/breakiterator_th.cxx
+++ b/i18npool/source/breakiterator/breakiterator_th.cxx
@@ -86,9 +86,9 @@ static sal_uInt16 SAL_CALL getCombState(const sal_Unicode *text, sal_Int32 pos)
if (text[pos+1] == SARA_AM) {
if ((1 << ch1) & is_ST_COM)
- return ST_COM;
+ return ST_COM;
else
- ch2 = CT_AD1;
+ ch2 = CT_AD1;
}
return thaiCompRel[ch1][ch2];
@@ -137,9 +137,9 @@ void SAL_CALL BreakIterator_th::makeIndex(const OUString& Text, sal_Int32 nStart
while (pos < endPos) {
end += getACell(str, start, endPos);
while (pos < end) {
- nextCellIndex[pos] = end;
- previousCellIndex[pos] = start;
- pos++;
+ nextCellIndex[pos] = end;
+ previousCellIndex[pos] = start;
+ pos++;
}
start = end;
}
More information about the Libreoffice-commits
mailing list