summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer/wrtswtbl.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-13 06:13:47 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-13 06:14:53 +0900
commit49082c20dc5d65fbf0a64c9f6d7aba626523c9a1 (patch)
tree7343627160b5ba7464c11364ecaff881b86d64ae /sw/source/filter/writer/wrtswtbl.cxx
parent0cd4f312e3957a60ff5168f7fe77d736ee2ca4d4 (diff)
sal_Bool to bool
Change-Id: I392709e11df3b2babfaa2cf4f90caf7ef29b10aa
Diffstat (limited to 'sw/source/filter/writer/wrtswtbl.cxx')
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index ef8697c5f97e..f9865f80ee6f 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -695,7 +695,7 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, sal_uInt16 nStartRow,
SwWriteTableCol *pCol = aCols[nOldCol];
OSL_ENSURE(pCol, "No TableCol found, panic!");
if (pCol)
- pCol->bLeftBorder = sal_False;
+ pCol->bLeftBorder = false;
}
if (!(nBorderMask & 8))
@@ -703,16 +703,16 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, sal_uInt16 nStartRow,
SwWriteTableCol *pCol = aCols[nCol];
OSL_ENSURE(pCol, "No TableCol found, panic!");
if (pCol)
- pCol->bRightBorder = sal_False;
+ pCol->bRightBorder = false;
}
if (!(nBorderMask & 1))
- pRow->bTopBorder = sal_False;
+ pRow->bTopBorder = false;
else if (!pRow->nTopBorder || nTopBorder < pRow->nTopBorder)
pRow->nTopBorder = nTopBorder;
if (!(nBorderMask & 2))
- pEndRow->bBottomBorder = sal_False;
+ pEndRow->bBottomBorder = false;
else if (
!pEndRow->nBottomBorder ||
nBottomBorder < pEndRow->nBottomBorder
@@ -740,7 +740,7 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, sal_uInt16 nStartRow,
}
SwWriteTable::SwWriteTable(const SwTableLines& rLines, long nWidth,
- sal_uInt32 nBWidth, sal_Bool bRel, sal_uInt16 nMaxDepth, sal_uInt16 nLSub, sal_uInt16 nRSub, sal_uInt32 nNumOfRowsToRepeat)
+ sal_uInt32 nBWidth, bool bRel, sal_uInt16 nMaxDepth, sal_uInt16 nLSub, sal_uInt16 nRSub, sal_uInt32 nNumOfRowsToRepeat)
: nBorderColor((sal_uInt32)-1), nCellSpacing(0), nCellPadding(0), nBorder(0),
nInnerBorder(0), nBaseWidth(nBWidth), nHeadEndRow(USHRT_MAX),
nLeftSub(nLSub), nRightSub(nRSub), nTabWidth(nWidth), bRelWidths(bRel),
@@ -862,18 +862,18 @@ SwWriteTable::SwWriteTable( const SwHTMLTableLayout *pLayoutInfo )
SwWriteTableCol *pCol = aCols[nCol];
if( !(nBorderMask & 4) )
- pCol->bLeftBorder = sal_False;
+ pCol->bLeftBorder = false;
pCol = aCols[nCol+nColSpan-1];
if( !(nBorderMask & 8) )
- pCol->bRightBorder = sal_False;
+ pCol->bRightBorder = false;
if( !(nBorderMask & 1) )
- pRow->bTopBorder = sal_False;
+ pRow->bTopBorder = false;
SwWriteTableRow *pEndRow = aRows[nRow+nRowSpan-1];
if( !(nBorderMask & 2) )
- pEndRow->bBottomBorder = sal_False;
+ pEndRow->bBottomBorder = false;
// Die Hoehe braucht nur einmal geschieben werden
if( nHeight )