diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-30 11:27:06 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-30 11:50:20 +0900 |
commit | 136ae4bc2fadd558cb044217339f6b7b2e58843e (patch) | |
tree | 331c53a6eb71865082a58c03d03de2f7325572d4 /sw/source/core/edit/ednumber.cxx | |
parent | b56eb7154428045239493b6fa21b24504b147603 (diff) |
sal_Bool to bool
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
Diffstat (limited to 'sw/source/core/edit/ednumber.cxx')
-rw-r--r-- | sw/source/core/edit/ednumber.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index 2597538e9a39..6a5892cc368e 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -241,11 +241,11 @@ void SwEditShell::DelNumRules() // Hoch-/Runterstufen -sal_Bool SwEditShell::NumUpDown( sal_Bool bDown ) +bool SwEditShell::NumUpDown( bool bDown ) { StartAllAction(); - sal_Bool bRet = sal_True; + bool bRet = true; SwPaM* pCrsr = GetCrsr(); if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ? bRet = GetDoc()->NumUpDown( *pCrsr, bDown ); @@ -354,7 +354,7 @@ void SwEditShell::SetIndent(short nIndent, const SwPosition & rPos) } // <- #i23725# -sal_Bool SwEditShell::MoveParagraph( long nOffset ) +bool SwEditShell::MoveParagraph( long nOffset ) { StartAllAction(); @@ -366,7 +366,7 @@ sal_Bool SwEditShell::MoveParagraph( long nOffset ) pCrsr->DeleteMark(); } - sal_Bool bRet = GetDoc()->MoveParagraph( *pCrsr, nOffset ); + bool bRet = GetDoc()->MoveParagraph( *pCrsr, nOffset ); GetDoc()->SetModified(); EndAllAction(); @@ -397,7 +397,7 @@ void SwEditShell::GetCurrentOutlineLevels( sal_uInt8& rUpper, sal_uInt8& rLower &rUpper, &rLower ); } -sal_Bool SwEditShell::MoveNumParas( sal_Bool bUpperLower, sal_Bool bUpperLeft ) +bool SwEditShell::MoveNumParas( bool bUpperLower, bool bUpperLeft ) { StartAllAction(); @@ -490,11 +490,11 @@ sal_Bool SwEditShell::MoveNumParas( sal_Bool bUpperLower, sal_Bool bUpperLeft ) return bRet; } -sal_Bool SwEditShell::OutlineUpDown( short nOffset ) +bool SwEditShell::OutlineUpDown( short nOffset ) { StartAllAction(); - sal_Bool bRet = sal_True; + bool bRet = true; SwPaM* pCrsr = GetCrsr(); if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ? bRet = GetDoc()->OutlineUpDown( *pCrsr, nOffset ); @@ -514,10 +514,10 @@ sal_Bool SwEditShell::OutlineUpDown( short nOffset ) } -sal_Bool SwEditShell::MoveOutlinePara( short nOffset ) +bool SwEditShell::MoveOutlinePara( short nOffset ) { StartAllAction(); - sal_Bool bRet = GetDoc()->MoveOutlinePara( *GetCrsr(), nOffset ); + bool bRet = GetDoc()->MoveOutlinePara( *GetCrsr(), nOffset ); EndAllAction(); return bRet; } @@ -680,7 +680,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule, aRangeArr.SetPam( n, aPam ); GetDoc()->SetNumRule( aPam, rRule, bCreateNewList, sContinuedListId, - sal_True, bResetIndentAttrs ); + true, bResetIndentAttrs ); GetDoc()->SetCounted( aPam, true ); } } @@ -688,7 +688,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule, { GetDoc()->SetNumRule( *pCrsr, rRule, bCreateNewList, sContinuedListId, - sal_True, bResetIndentAttrs ); + true, bResetIndentAttrs ); GetDoc()->SetCounted( *pCrsr, true ); } GetDoc()->GetIDocumentUndoRedo().EndUndo( UNDO_END, NULL ); |