summaryrefslogtreecommitdiff
path: root/cui/source/options/optdict.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-19 13:10:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-19 14:38:35 +0200
commit8fced917aa1af58216cbde56720f2f473eed86d9 (patch)
tree755d0dfba1fe4a5c34860d0d1ea4c6ce01525405 /cui/source/options/optdict.cxx
parentf0110f798cee31ff87651dc2377eacef2ab8a8b7 (diff)
clang-tidy readability-simplify-boolean-expr in accessibility..cui
Change-Id: Iae27da322c6ede592e6b268fb2210d3525ed22cc Reviewed-on: https://gerrit.libreoffice.org/36677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optdict.cxx')
-rw-r--r--cui/source/options/optdict.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index 948cc2529606..a8541b98f1d5 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -567,7 +567,7 @@ IMPL_LINK(SvxEditDictionaryDialog, SelectHdl, SvTreeListBox*, pBox, void)
// entries in the list box should exactly correspond to those from the
// dictionary. Thus:
pNewReplacePB->Enable(false);
- pDeletePB->Enable( true && !IsDicReadonly_Impl() );
+ pDeletePB->Enable( !IsDicReadonly_Impl() );
}
};