diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-03 12:18:57 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-03 12:20:23 +0900 |
commit | 2a9fd5d68304beebcffd2f6a66e65c95eb433c40 (patch) | |
tree | 56eec3b99f62e1ceb84b98e76cb9a2b2a033af5d /sw/source/core/edit/ednumber.cxx | |
parent | f70cf02d9073a2a7557eb01bac401213d5c11314 (diff) |
sal_Bool to bool
Change-Id: I35412e2d2e36e3eabdff2a6692bf6edc68a2d724
Diffstat (limited to 'sw/source/core/edit/ednumber.cxx')
-rw-r--r-- | sw/source/core/edit/ednumber.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index 541f0e72cf0f..1f0294ef7580 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -270,9 +270,9 @@ bool SwEditShell::NumUpDown( bool bDown ) return bRet; } // -> #i23726# -sal_Bool SwEditShell::IsFirstOfNumRule() const +bool SwEditShell::IsFirstOfNumRule() const { - sal_Bool bResult = sal_False; + bool bResult = false; SwPaM * pCrsr = GetCrsr(); if (pCrsr->GetNext() == pCrsr) @@ -283,9 +283,9 @@ sal_Bool SwEditShell::IsFirstOfNumRule() const return bResult; } -sal_Bool SwEditShell::IsFirstOfNumRule(const SwPaM & rPaM) const +bool SwEditShell::IsFirstOfNumRule(const SwPaM & rPaM) const { - sal_Bool bResult = sal_False; + bool bResult = false; SwPosition aPos(*rPaM.GetPoint()); bResult = GetDoc()->IsFirstOfNumRule(aPos); @@ -597,9 +597,9 @@ sal_Bool SwEditShell::IsOutlineCopyable( sal_uInt16 nIdx ) const } -sal_Bool SwEditShell::NumOrNoNum( sal_Bool bNumOn, sal_Bool bChkStart ) +bool SwEditShell::NumOrNoNum( sal_Bool bNumOn, bool bChkStart ) { - sal_Bool bRet = sal_False; + bool bRet = false; SwPaM* pCrsr = GetCrsr(); if( pCrsr->GetNext() == pCrsr && !pCrsr->HasMark() && ( !bChkStart || !pCrsr->GetPoint()->nContent.GetIndex()) ) @@ -696,7 +696,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule, EndAllAction(); } -String SwEditShell::GetUniqueNumRuleName( const String* pChkStr, sal_Bool bAutoNum ) const +String SwEditShell::GetUniqueNumRuleName( const String* pChkStr, bool bAutoNum ) const { return GetDoc()->GetUniqueNumRuleName( pChkStr, bAutoNum ); } |