From eea6d3951b66f85df60574e10f19a81bfd7529cc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Aug 2017 17:21:53 +0200 Subject: loplugin:unnecessaryparen look for statements like return (function()); Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3 Reviewed-on: https://gerrit.libreoffice.org/41260 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- unotools/source/config/eventcfg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools') diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index 7842820cfcf2..2f2f57956a5e 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -308,7 +308,7 @@ Type SAL_CALL GlobalEventConfig_Impl::getElementType( ) bool SAL_CALL GlobalEventConfig_Impl::hasElements( ) { - return ( m_eventBindingHash.empty() ); + return m_eventBindingHash.empty(); } // and now the wrapper -- cgit