diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 15:56:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 15:56:43 +0100 |
commit | a92c48fa795589f3f6dc8dd058d1ecdde173e3e3 (patch) | |
tree | f63b38f8217641df0ee950dfee6b6274c9e04ad0 /sw | |
parent | 7c06f2675c44abc9ef3d2aff2d28b2e4acc8d1df (diff) |
WaE: unsafe mix of sal_Bool and bool
Change-Id: I753ee58e5999f9ba0da5adeaba7800b76f7f4d68
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/crsrsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 0c079727aab1..41f6b63fc507 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -672,7 +672,7 @@ public: sal_Bool bInHeader = sal_True ); // is point of cursor in header/footer. pbInHeader return sal_True if it is // in a headerframe otherwise in a footerframe - sal_Bool IsInHeaderFooter( sal_Bool* pbInHeader = 0 ) const; + bool IsInHeaderFooter( sal_Bool* pbInHeader = 0 ) const; sal_Bool GotoNextTOXBase( const String* = 0 ); sal_Bool GotoPrevTOXBase( const String* = 0 ); diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 88fd062f0d2f..386798be3915 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -618,7 +618,7 @@ SwFrm* lcl_IsInHeaderFooter( const SwNodeIndex& rIdx, Point& rPt ) return pFrm; } -sal_Bool SwCrsrShell::IsInHeaderFooter( sal_Bool* pbInHeader ) const +bool SwCrsrShell::IsInHeaderFooter( sal_Bool* pbInHeader ) const { Point aPt; SwFrm* pFrm = ::lcl_IsInHeaderFooter( pCurCrsr->GetPoint()->nNode, aPt ); |