From 6c97d801203b277428e329d174c8650e5fae78ab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 15:28:46 +0200 Subject: More loplugin:simplifybool Change-Id: I65ea51a6d34942acfe8c4fe0dee62781251fb1bf --- sc/source/ui/miscdlgs/warnbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/miscdlgs/warnbox.cxx') diff --git a/sc/source/ui/miscdlgs/warnbox.cxx b/sc/source/ui/miscdlgs/warnbox.cxx index de69700e75f5..75c7b6032bf6 100644 --- a/sc/source/ui/miscdlgs/warnbox.cxx +++ b/sc/source/ui/miscdlgs/warnbox.cxx @@ -62,7 +62,7 @@ ScReplaceWarnBox::ScReplaceWarnBox( vcl::Window* pParent ) : bool ScReplaceWarnBox::IsDialogEnabled() { - return ((bool) SC_MOD()->GetInputOptions().GetReplaceCellsWarn()) == true; + return (bool) SC_MOD()->GetInputOptions().GetReplaceCellsWarn(); } void ScReplaceWarnBox::DisableDialog() -- cgit