summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 07a41bee36dc..69398e8ff49c 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2539,7 +2539,7 @@ void DbGridControl::AppendNew()
void DbGridControl::SetDesignMode(bool bMode)
{
- if (IsDesignMode() != bMode)
+ if ((bool) IsDesignMode() != bMode)
{
// adjust Enable/Disable for design mode so that the headerbar remains configurable
if (bMode)