summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-25 15:43:12 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-25 17:21:36 +0300
commitec1531b327122093c6032063c5cc789d4df4d06f (patch)
tree1203cac74f62c4bf26730c75dd1d3c82e852f91e
parentab2cc86cf5d69bfaf765f3d4aa314dcb5339f533 (diff)
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
-rw-r--r--sw/source/core/layout/layact.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index f48061b1ca4f..a7c5036b5774 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2390,7 +2390,7 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
bActions |= aTmp != pSh->VisArea();
if ( aTmp == pSh->VisArea() && pSh->ISA(SwCrsrShell) )
{
- bActions |= aBools[nBoolIdx] !=
+ bActions |= ((sal_Bool) aBools[nBoolIdx]) !=
static_cast<SwCrsrShell*>(pSh)->GetCharRect().IsOver( pSh->VisArea() );
}
}