summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-19 17:52:35 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-20 10:06:46 +0900
commit677a3f75e77b35f256b77b1de727790b468ab899 (patch)
tree0a28667f58b6361bd5cdc550d2963a26a58f8c52 /sw/source/filter
parent9b24ce6da284505aed2bbaf4ad2790c161fbc232 (diff)
sal_Bool to bool
Change-Id: Icc13eb7a8c6720ac53163e3ee7842a22c2862ab3
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/htmltab.cxx8
-rw-r--r--sw/source/filter/rtf/rtftbl.cxx8
-rw-r--r--sw/source/filter/xml/xmltbli.cxx4
-rw-r--r--sw/source/filter/xml/xmltbli.hxx2
4 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 8d5172c4f71a..9bb78d66a96c 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -602,11 +602,11 @@ public:
inline void CloseSection( sal_Bool bHead );
// Ende einer Spalten-Gruppe bekanntgeben
- inline void CloseColGroup( sal_uInt16 nSpan, sal_uInt16 nWidth, sal_Bool bRelWidth,
+ inline void CloseColGroup( sal_uInt16 nSpan, sal_uInt16 nWidth, bool bRelWidth,
SvxAdjust eAdjust, sal_Int16 eVertOri );
// Einfuegen einer Spalte
- void InsertCol( sal_uInt16 nSpan, sal_uInt16 nWidth, sal_Bool bRelWidth,
+ void InsertCol( sal_uInt16 nSpan, sal_uInt16 nWidth, bool bRelWidth,
SvxAdjust eAdjust, sal_Int16 eVertOri );
// Beenden einer Tab-Definition (MUSS fuer ALLE Tabs aufgerufen werden)
@@ -2311,7 +2311,7 @@ void HTMLTable::CloseRow( sal_Bool bEmpty )
}
inline void HTMLTable::CloseColGroup( sal_uInt16 nSpan, sal_uInt16 _nWidth,
- sal_Bool bRelWidth, SvxAdjust eAdjust,
+ bool bRelWidth, SvxAdjust eAdjust,
sal_Int16 eVertOrient )
{
if( nSpan )
@@ -2322,7 +2322,7 @@ inline void HTMLTable::CloseColGroup( sal_uInt16 nSpan, sal_uInt16 _nWidth,
((*pColumns)[nCurCol-1]).SetEndOfGroup();
}
-void HTMLTable::InsertCol( sal_uInt16 nSpan, sal_uInt16 nColWidth, sal_Bool bRelWidth,
+void HTMLTable::InsertCol( sal_uInt16 nSpan, sal_uInt16 nColWidth, bool bRelWidth,
SvxAdjust eAdjust, sal_Int16 eVertOrient )
{
// #i35143# - no columns, if rows already exist.
diff --git a/sw/source/filter/rtf/rtftbl.cxx b/sw/source/filter/rtf/rtftbl.cxx
index 844e642494d6..1f855ce6a007 100644
--- a/sw/source/filter/rtf/rtftbl.cxx
+++ b/sw/source/filter/rtf/rtftbl.cxx
@@ -829,7 +829,7 @@ void SwRTFParser::NewTblLine()
nInsTblRow = USHRT_MAX;
// erweiter die aktuelle um eine neue Line
- sal_Bool bMakeCopy = sal_False;
+ bool bMakeCopy = false;
SwNode* pNd = pDoc->GetNodes()[ pPam->GetPoint()->nNode.GetIndex()-1 ];
if( !pNd->IsEndNode() ||
!(pNd = pNd->StartOfSectionNode())->IsTableNode() )
@@ -837,7 +837,7 @@ void SwRTFParser::NewTblLine()
if( !pOldTblNd )
return ;
- bMakeCopy = sal_True;
+ bMakeCopy = true;
pNd = pOldTblNd;
}
pTableNode = (SwTableNode*)pNd;
@@ -853,7 +853,7 @@ void SwRTFParser::NewTblLine()
if( !bMakeCopy &&
64000 < pTableNode->GetTable().GetTabSortBoxes().size() )
{
- bMakeCopy = sal_True; // spaetestens jetzt eine neue anfangen!
+ bMakeCopy = true; // spaetestens jetzt eine neue anfangen!
}
if( bMakeCopy )
@@ -862,7 +862,7 @@ void SwRTFParser::NewTblLine()
SwSelBoxes aBoxes;
pTableNode->GetTable().SelLineFromBox( pBox, aBoxes );
pTableNode->GetTable().MakeCopy( pDoc, *pPam->GetPoint(),
- aBoxes, sal_False );
+ aBoxes, false );
sal_uLong nNd = pPam->GetPoint()->nNode.GetIndex()-1;
pTableNode = pDoc->GetNodes()[ nNd ]->FindTableNode();
pOldTblNd = pTableNode;
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 5d76fa4d0a89..644b1e580dcc 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -1694,7 +1694,7 @@ void SwXMLTableContext::InsertCell( const OUString& rStyleName,
void SwXMLTableContext::InsertRow( const OUString& rStyleName,
const OUString& rDfltCellStyleName,
- sal_Bool bInHead,
+ bool bInHead,
const OUString & i_rXmlId )
{
OSL_ENSURE( nCurRow < USHRT_MAX,
@@ -1737,7 +1737,7 @@ void SwXMLTableContext::InsertRepRows( sal_uInt32 nCount )
while( nCount > 1 && IsInsertRowPossible() )
{
InsertRow( pSrcRow->GetStyleName(), pSrcRow->GetDefaultCellStyleName(),
- sal_False );
+ false );
while( nCurCol < GetColumnCount() )
{
if( !GetCell(nCurRow,nCurCol)->IsUsed() )
diff --git a/sw/source/filter/xml/xmltbli.hxx b/sw/source/filter/xml/xmltbli.hxx
index 39cf993da3c6..d87d068fc4e8 100644
--- a/sw/source/filter/xml/xmltbli.hxx
+++ b/sw/source/filter/xml/xmltbli.hxx
@@ -189,7 +189,7 @@ public:
sal_Bool bTextValue = sal_False );
void InsertRow( const ::rtl::OUString& rStyleName,
const ::rtl::OUString& rDfltCellStyleName,
- sal_Bool bInHead,
+ bool bInHead,
const ::rtl::OUString & i_rXmlId = ::rtl::OUString() );
void FinishRow();
void InsertRepRows( sal_uInt32 nCount );