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 --- sw/source/ui/misc/glosbib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/ui/misc/glosbib.cxx') diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index be6c855a8af3..d54e457f079b 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -383,7 +383,7 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, ModifyHdl, Edit&, void) bool SwGlossaryGroupDlg::IsDeleteAllowed(const OUString &rGroup) { - bool bDel = (!pGlosHdl->IsReadOnly(&rGroup)); + bool bDel = !pGlosHdl->IsReadOnly(&rGroup); // OM: if the name is among the new region name, it is deletable // as well! Because for non existing region names ReadOnly issues -- cgit