i18npool/source/transliteration/transliteration_Numeric.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5b8b72cbdc6407bf806eab14b2d29bb72cf21cd6
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon Nov 12 14:03:31 2018 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Nov 12 18:15:46 2018 +0100

    fix missing "else" in transliterateBullet
    
    ever since
    
        commit f1830339193643466c1dd76dc37594c21ab3ac4f
        Date:   Tue Apr 8 15:07:08 2003 +0000
        INTEGRATION: CWS calc06 (1.2.44); FILE MERGED
    
    not it will make much difference to the logic
    
    found by experimental loplugin:indentation
    
    Change-Id: I2d724ababa1664a87f2822ed8b59f3e3cd50e5e4
    Reviewed-on: https://gerrit.libreoffice.org/63287
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/i18npool/source/transliteration/transliteration_Numeric.cxx 
b/i18npool/source/transliteration/transliteration_Numeric.cxx
index 733f3f7dc100..4550026153d5 100644
--- a/i18npool/source/transliteration/transliteration_Numeric.cxx
+++ b/i18npool/source/transliteration/transliteration_Numeric.cxx
@@ -84,7 +84,7 @@ transliteration_Numeric::transliterateBullet( const OUString& 
inStr, sal_Int32 s
                 if (useOffset)
                     offset[j] = startPos;
                 out[j++] = NUMBER_ZERO;
-            } if (number > tableSize && !recycleSymbol) {
+            } else if (number > tableSize && !recycleSymbol) {
                 for (sal_Int32 k = startPos; k < i; k++) {
                     if (useOffset)
                         offset[j] = k;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to