diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-10 12:47:30 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-10 12:53:25 +0300 |
commit | a62e3205030d17a402255c9a84d0f484c18d25a9 (patch) | |
tree | 0138c9e9fc6677108e5a10b79fbaf1eba22b44fb /sw | |
parent | 2a0a3a15b985258f678c97890527216fdda8eead (diff) |
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
Diffstat (limited to 'sw')
-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 ) |