From a62e3205030d17a402255c9a84d0f484c18d25a9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 10 Oct 2011 12:47:30 +0300 Subject: WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation --- sw/source/core/crsr/crsrsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 8a8cd4ef75c8..f402e028fcaa 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -679,7 +679,7 @@ int SwCrsrShell::SetCrsr( const Point &rLPt, sal_Bool bOnlyText, bool bBlock ) // Toggle the Header/Footer mode if needed bool bInHeaderFooter = pFrm && ( pFrm->IsHeaderFrm() || pFrm->IsFooterFrm() ); - if ( bInHeaderFooter ^ IsHeaderFooterEdit() ) + if ( bInHeaderFooter ^ (bool) IsHeaderFooterEdit() ) ToggleHeaderFooterEdit(); if( pBlockCrsr && bBlock ) -- cgit