diff options
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |