summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-21 10:01:27 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 12:19:24 +0200
commita32ed92c953b6ad39a993c530d43f5d91c34be79 (patch)
tree4fa7f1f77a658f450bb8fbc7ae6fe52bd4ee7fc1 /editeng
parent239820a7ac9b6e9800973270142bcf7f7a8db322 (diff)
editeng: sal_Bool->bool
Change-Id: I64cde75157fbdcda6ac92ca4064e6ab8197114c1
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/paraitem.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index d24ae985600c..5bd3184350a9 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -70,7 +70,7 @@ TYPEINIT1_FACTORY(SvxLineSpacingItem, SfxPoolItem , new SvxLineSpacingItem(LINE_
TYPEINIT1_FACTORY(SvxAdjustItem, SfxPoolItem, new SvxAdjustItem(SVX_ADJUST_LEFT, 0));
TYPEINIT1_FACTORY(SvxWidowsItem, SfxByteItem, new SvxWidowsItem(0, 0));
TYPEINIT1_FACTORY(SvxOrphansItem, SfxByteItem, new SvxOrphansItem(0, 0));
-TYPEINIT1_FACTORY(SvxHyphenZoneItem, SfxPoolItem, new SvxHyphenZoneItem(sal_False, 0));
+TYPEINIT1_FACTORY(SvxHyphenZoneItem, SfxPoolItem, new SvxHyphenZoneItem(false, 0));
TYPEINIT1_FACTORY(SvxTabStopItem, SfxPoolItem, new SvxTabStopItem(0));
TYPEINIT1_FACTORY(SvxFmtSplitItem, SfxBoolItem, new SvxFmtSplitItem(sal_False, 0));
TYPEINIT1_FACTORY(SvxPageModelItem, SfxStringItem, new SvxPageModelItem(0));
@@ -668,11 +668,11 @@ SfxItemPresentation SvxOrphansItem::GetPresentation
// class SvxHyphenZoneItem -----------------------------------------------
-SvxHyphenZoneItem::SvxHyphenZoneItem( const sal_Bool bHyph, const sal_uInt16 nId ) :
+SvxHyphenZoneItem::SvxHyphenZoneItem( const bool bHyph, const sal_uInt16 nId ) :
SfxPoolItem( nId )
{
bHyphen = bHyph;
- bPageEnd = sal_True;
+ bPageEnd = true;
nMinLead = nMinTrail = 0;
nMaxHyphens = 255;
}
@@ -812,9 +812,9 @@ SfxPoolItem* SvxHyphenZoneItem::Create(SvStream& rStrm, sal_uInt16) const
sal_Int8 _bHyphen, _bHyphenPageEnd;
sal_Int8 _nMinLead, _nMinTrail, _nMaxHyphens;
rStrm.ReadSChar( _bHyphen ).ReadSChar( _bHyphenPageEnd ).ReadSChar( _nMinLead ).ReadSChar( _nMinTrail ).ReadSChar( _nMaxHyphens );
- SvxHyphenZoneItem* pAttr = new SvxHyphenZoneItem( sal_False, Which() );
- pAttr->SetHyphen( sal_Bool( _bHyphen != 0 ) );
- pAttr->SetPageEnd( sal_Bool( _bHyphenPageEnd != 0 ) );
+ SvxHyphenZoneItem* pAttr = new SvxHyphenZoneItem( false, Which() );
+ pAttr->SetHyphen( _bHyphen != 0 );
+ pAttr->SetPageEnd( _bHyphenPageEnd != 0 );
pAttr->GetMinLead() = _nMinLead;
pAttr->GetMinTrail() = _nMinTrail;
pAttr->GetMaxHyphens() = _nMaxHyphens;