summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/warnbox.cxx
diff options
context:
space:
mode:
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 8fa78a0f1a1c..1a68fe31207b 100644
--- a/sc/source/ui/miscdlgs/warnbox.cxx
+++ b/sc/source/ui/miscdlgs/warnbox.cxx
@@ -79,7 +79,7 @@ ScReplaceWarnBox::ScReplaceWarnBox( Window* pParent ) :
bool ScReplaceWarnBox::IsDialogEnabled()
{
- return SC_MOD()->GetInputOptions().GetReplaceCellsWarn() == true;
+ return ((bool) SC_MOD()->GetInputOptions().GetReplaceCellsWarn()) == true;
}
void ScReplaceWarnBox::DisableDialog()