diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 09:31:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 12:30:28 +0200 |
commit | 2a4a74a49913ffd42315e2e34c8d58594cebbb95 (patch) | |
tree | c935439b997db416edddc3de31561b465e786a4a /sw | |
parent | ab49749dfc405752230fb7c2a0416f37e55be032 (diff) |
editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/doclay.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/poolfmt.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/frmedt/fetab.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/uiview/viewtab.cxx | 6 |
6 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index a0d52ea7b767..846ec64fdcd2 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -1546,7 +1546,7 @@ lcl_InsertDrawLabel( SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl, if ( rSdrObj.IsMoveProtect() || rSdrObj.IsResizeProtect() ) { SvxProtectItem aProtect(RES_PROTECT); - aProtect.SetCntntProtect( sal_False ); + aProtect.SetCntntProtect( false ); aProtect.SetPosProtect( rSdrObj.IsMoveProtect() ); aProtect.SetSizeProtect( rSdrObj.IsResizeProtect() ); pNewSet->Put( aProtect ); diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx index caeb057280fc..f757c7286ac5 100644 --- a/sw/source/core/doc/poolfmt.cxx +++ b/sw/source/core/doc/poolfmt.cxx @@ -1359,8 +1359,8 @@ SwFmt* SwDoc::GetFmtFromPool( sal_uInt16 nId ) aSet.Put( SvxLRSpaceItem( 114, 114, 0, 0, RES_LR_SPACE ) ); SvxProtectItem aProtect( RES_PROTECT ); - aProtect.SetSizeProtect( sal_True ); - aProtect.SetPosProtect( sal_True ); + aProtect.SetSizeProtect( true ); + aProtect.SetPosProtect( true ); aSet.Put( aProtect ); pNewFmt->SetAutoUpdateFmt( sal_True ); diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index f39a126dac4d..3d650f666f14 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -979,7 +979,7 @@ sal_Bool SwFEShell::HasBoxSelection() const void SwFEShell::ProtectCells() { SvxProtectItem aProt( RES_PROTECT ); - aProt.SetCntntProtect( sal_True ); + aProt.SetCntntProtect( true ); SET_CURR_SHELL( this ); StartAllAction(); diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index b348b96285fd..ab79860ac6ce 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -4923,7 +4923,7 @@ void SwHTMLParser::InsertSpacer() // den Inhalt schuetzen SvxProtectItem aProtectItem( RES_PROTECT) ; - aProtectItem.SetCntntProtect( sal_True ); + aProtectItem.SetCntntProtect( true ); aFrmSet.Put( aProtectItem ); // der Rahmen anlegen diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index a554381d476a..cae6695e3521 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2187,7 +2187,7 @@ SwTableBox *SwXMLTableContext::MakeTableBox( if( pCell->IsProtected() ) { SvxProtectItem aProtectItem( RES_PROTECT ); - aProtectItem.SetCntntProtect( sal_True ); + aProtectItem.SetCntntProtect( true ); pBoxFmt2->SetFmtAttr( aProtectItem ); } diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx index 3791c2a27975..18893ed2d300 100644 --- a/sw/source/ui/uiview/viewtab.cxx +++ b/sw/source/ui/uiview/viewtab.cxx @@ -1990,8 +1990,8 @@ void SwView::StateTabWin(SfxItemSet& rSet) SvxProtectItem aProtect(SID_RULER_PROTECT); if(bBrowse && !(nFrmType & (FRMTYPE_DRAWOBJ|FRMTYPE_COLUMN)) && !rSh.GetTableFmt()) { - aProtect.SetSizeProtect(sal_True); - aProtect.SetPosProtect(sal_True); + aProtect.SetSizeProtect(true); + aProtect.SetPosProtect(true); } rSet.Put(aProtect); } @@ -2003,7 +2003,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) if(bPutContentProtection) { SvxProtectItem aProtect(SID_RULER_PROTECT); - aProtect.SetCntntProtect(sal_True); + aProtect.SetCntntProtect(true); rSet.Put(aProtect); } } |