Kaydet (Commit) 52c492ca authored tarafından Takeshi Abe's avatar Takeshi Abe

sal_Bool to bool

Change-Id: Ia6a4cd46b3bda875baeb9fcdda98a1964aedf841
üst d7c69b2e
This diff is collapsed.
...@@ -60,7 +60,7 @@ void _InsTblBox( SwDoc* pDoc, SwTableNode* pTblNd, ...@@ -60,7 +60,7 @@ void _InsTblBox( SwDoc* pDoc, SwTableNode* pTblNd,
SwTableBox* pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 ); SwTableBox* pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 );
SW_DLLPUBLIC void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* pUndo = 0, SW_DLLPUBLIC void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* pUndo = 0,
sal_Bool bCalcNewSize = sal_True, const sal_Bool bCorrBorder = sal_True, bool bCalcNewSize = true, const bool bCorrBorder = true,
SwShareBoxFmts* pShareFmts = 0 ); SwShareBoxFmts* pShareFmts = 0 );
// Klasse fuers SplitTable // Klasse fuers SplitTable
......
...@@ -748,7 +748,7 @@ void SwUndoTxtToTbl::UndoImpl(::sw::UndoRedoContext & rContext) ...@@ -748,7 +748,7 @@ void SwUndoTxtToTbl::UndoImpl(::sw::UndoRedoContext & rContext)
{ {
SwTableBox* pBox = rTbl.GetTblBox( (*pDelBoxes)[ --n ] ); SwTableBox* pBox = rTbl.GetTblBox( (*pDelBoxes)[ --n ] );
if( pBox ) if( pBox )
::_DeleteBox( rTbl, pBox, 0, sal_False, sal_False ); ::_DeleteBox( rTbl, pBox, 0, false, false );
else { else {
OSL_ENSURE( !this, "Where is my box?" ); OSL_ENSURE( !this, "Where is my box?" );
} }
......
...@@ -53,7 +53,7 @@ typedef std::vector<SwTableBoxFmt*> SwBoxFrmFmts; ...@@ -53,7 +53,7 @@ typedef std::vector<SwTableBoxFmt*> SwBoxFrmFmts;
class SwShareBoxFmts; class SwShareBoxFmts;
extern void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* = 0, extern void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* = 0,
sal_Bool = sal_True, const sal_Bool = sal_True, SwShareBoxFmts* = 0 ); bool = true, const bool = true, SwShareBoxFmts* = 0 );
struct Row struct Row
{ {
...@@ -556,7 +556,7 @@ void SwRTFParser::ReadTable( int nToken ) ...@@ -556,7 +556,7 @@ void SwRTFParser::ReadTable( int nToken )
pPam->SetMark(); pPam->DeleteMark(); pPam->SetMark(); pPam->DeleteMark();
while( n < pNewLine->GetTabBoxes().size() ) while( n < pNewLine->GetTabBoxes().size() )
_DeleteBox( pTableNode->GetTable(), _DeleteBox( pTableNode->GetTable(),
pNewLine->GetTabBoxes()[ n ], 0, sal_False, sal_False ); pNewLine->GetTabBoxes()[ n ], 0, false, false );
} }
pOldTblNd = pTableNode; pOldTblNd = pTableNode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment