summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/warnbox.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:28:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:31:00 +0200
commit6c97d801203b277428e329d174c8650e5fae78ab (patch)
tree6f3bd74f23cabfdac763e3c02ee973d43f4d9c9f /sc/source/ui/miscdlgs/warnbox.cxx
parent3591554df303958e519d8758acd595975809c827 (diff)
More loplugin:simplifybool
Change-Id: I65ea51a6d34942acfe8c4fe0dee62781251fb1bf
Diffstat (limited to 'sc/source/ui/miscdlgs/warnbox.cxx')
-rw-r--r--sc/source/ui/miscdlgs/warnbox.cxx2
1 files changed, 1 insertions, 1 deletions
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()