From 4f4486c61d3e437059a2ac77aae012489f5c7e25 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Nov 2017 10:26:01 +0200 Subject: look for =() in loplugin:unnecessaryparen Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/services/autorecovery.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/source/services') diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 02d099d42303..0309f91bc9da 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -2028,7 +2028,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn { // new/modify css::uno::Reference< css::beans::XPropertySet > xSet; - bool bNew = (!xCheck->hasByName(sID)); + bool bNew = !xCheck->hasByName(sID); if (bNew) xSet.set(xCreate->createInstance(), css::uno::UNO_QUERY_THROW); else @@ -2296,7 +2296,7 @@ IMPL_LINK_NOARG(AutoRecovery, implts_timerExpired, Timer *, void) if (m_eTimerType == AutoRecovery::E_POLL_FOR_USER_IDLE) { - bool bUserIdle = (Application::GetLastInputInterval()>MIN_TIME_FOR_USER_IDLE); + bool bUserIdle = Application::GetLastInputInterval() > MIN_TIME_FOR_USER_IDLE; if (!bUserIdle) { g.clear(); -- cgit