diff options
author | nccuong <cao.cuong.ngo@gmail.com> | 2013-03-04 15:25:02 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-06 12:59:26 +0000 |
commit | a6b91730053fc61416716ae176081b91de52532b (patch) | |
tree | 192e578875f9abe82ca535e3cb794944bac9d9aa /i18npool | |
parent | 6374ae0721a5e5da9ed1a477f9642feba01199a6 (diff) |
fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index 66145ef6b944..75818ad30bb1 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -300,8 +300,8 @@ OUString toRoman( sal_Int32 n ) n -= ( nOver1000 * nMask ); OUStringBuffer sTmp; - while(nOver1000--) - sTmp.append(sal_Unicode(*coRomanArr)); + while(nOver1000--) + sTmp.append(sal_Unicode(*coRomanArr)); while( nMask ) { @@ -509,11 +509,11 @@ void lcl_formatCharsGR( sal_Unicode table[], int n, OUString& s ) for (int i = 0; i < myriadPower; i++) sb.append(MYRIAD_SYM); - sb.append(gr_smallNum(table, n/divisor)); - n %= divisor; + sb.append(gr_smallNum(table, n/divisor)); + n %= divisor; - if (n > 0) - sb.append(DOT_SYM); + if (n > 0) + sb.append(DOT_SYM); } } sb.append(gr_smallNum(table,n)); |