diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-01 00:28:30 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-02 20:17:57 +0100 |
commit | f46d23e242d6dd4c856392006ef21a86b1ea3a4f (patch) | |
tree | 797adca2a732709263c5573a0f66bfb0f7891c51 /sw/source/core/undo/untblk.cxx | |
parent | 04deb742f6bddf2881ab6c088ca212500d4931a1 (diff) |
sal_Bool to bool
Change-Id: Ie04d9314f66bcda8e1c7939248af79a15fbdaaeb
Diffstat (limited to 'sw/source/core/undo/untblk.cxx')
-rw-r--r-- | sw/source/core/undo/untblk.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx index b7bbbc706bf7..df6233437ee2 100644 --- a/sw/source/core/undo/untblk.cxx +++ b/sw/source/core/undo/untblk.cxx @@ -34,7 +34,7 @@ SwUndoInserts::SwUndoInserts( SwUndoId nUndoId, const SwPaM& rPam ) : SwUndo( nUndoId ), SwUndRng( rPam ), pTxtFmtColl( 0 ), pLastNdColl(0), pFrmFmts( 0 ), pRedlData( 0 ), - bSttWasTxtNd( sal_True ), nNdDiff( 0 ), nSetPos( 0 ) + bSttWasTxtNd( true ), nNdDiff( 0 ), nSetPos( 0 ) { pHistory = new SwHistory; SwDoc* pDoc = (SwDoc*)rPam.GetDoc(); @@ -76,8 +76,8 @@ SwUndoInserts::SwUndoInserts( SwUndoId nUndoId, const SwPaM& rPam ) } // set destination after reading input -void SwUndoInserts::SetInsertRange( const SwPaM& rPam, sal_Bool bScanFlys, - sal_Bool bSttIsTxtNd ) +void SwUndoInserts::SetInsertRange( const SwPaM& rPam, bool bScanFlys, + bool bSttIsTxtNd ) { const SwPosition* pTmpPos = rPam.End(); nEndNode = pTmpPos->nNode.GetIndex(); @@ -95,7 +95,7 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, sal_Bool bScanFlys, if( !bSttIsTxtNd ) // if a table selection is added ... { ++nSttNode; // ... than the CopyPam is not fully correct - bSttWasTxtNd = sal_False; + bSttWasTxtNd = false; } } @@ -166,7 +166,7 @@ void SwUndoInserts::UndoImpl(::sw::UndoRedoContext & rContext) pLastNdColl = pTxtNd->GetTxtColl(); } - RemoveIdxFromRange( *pPam, sal_False ); + RemoveIdxFromRange( *pPam, false ); SetPaM(*pPam); // are there Footnotes or CntntFlyFrames in text? @@ -256,7 +256,7 @@ void SwUndoInserts::RedoImpl(::sw::UndoRedoContext & rContext) // retrieve start position for rollback if( ( nSttNode != nEndNode || nSttCntnt != nEndCntnt ) && m_pUndoNodeIndex) { - sal_Bool bMvBkwrd = MovePtBackward( *pPam ); + const bool bMvBkwrd = MovePtBackward( *pPam ); // re-insert content again (first detach m_pUndoNodeIndex!) sal_uLong const nMvNd = m_pUndoNodeIndex->GetIndex(); |