WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation

This commit is contained in:
Tor Lillqvist 2011-10-10 12:47:30 +03:00
parent 2a0a3a15b9
commit a62e320503

View file

@ -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 )