From 868d8c8f0fdf376b0a3eb545ee841c9c12ffee3b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Jul 2017 08:42:54 +0200 Subject: loplugin:unnecessaryparen handle parens inside call expr stick to single-arg function calls, sometimes parens in multi-arg calls might be there for clarity Change-Id: Ib80190c571ce65b5d219a88056687042de749e74 Reviewed-on: https://gerrit.libreoffice.org/39676 Tested-by: Jenkins Reviewed-by: Noel Grandin --- hwpfilter/source/hcode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx index 41fb6d34cb81..1e0170401dca 100644 --- a/hwpfilter/source/hcode.cxx +++ b/hwpfilter/source/hcode.cxx @@ -423,7 +423,7 @@ static hchar s_hh2ks(hchar hh) return 0x2020; if (hh >= HCA_TG) { - return sal::static_int_cast((tblhhtg_ks[hh - HCA_TG])); + return sal::static_int_cast(tblhhtg_ks[hh - HCA_TG]); } hh -= HCA_KSS; idx = hh / 0x60 + 161; @@ -444,7 +444,7 @@ static hchar s_hh2kssm(hchar hh) if ((idx < 0x34 || idx >= 0x38) && idx != 0x1F) return 0; if (hh >= HCA_TG) - return sal::static_int_cast((hhtg_tg[hh - HCA_TG])); + return sal::static_int_cast(hhtg_tg[hh - HCA_TG]); if (idx == 0x1F) hh = hh - 0x1F00 + 0x360; else -- cgit