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 --- cppu/source/typelib/typelib.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppu') diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index cf6621707f16..063e0ba8ddb1 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -249,7 +249,7 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() TypeDescriptionList_Impl::const_iterator aIt = pCache->begin(); while( aIt != pCache->end() ) { - typelib_typedescription_release( (*aIt) ); + typelib_typedescription_release( *aIt ); ++aIt; } delete pCache; @@ -1853,7 +1853,7 @@ extern "C" void SAL_CALL typelib_typedescription_getByName( { if( *ppRet ) { - typelib_typedescription_release( (*ppRet) ); + typelib_typedescription_release( *ppRet ); *ppRet = nullptr; } -- cgit v1.2.3