summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 12:53:18 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 12:30:30 +0200
commitc521f0720800a943fedffdc102aa51e09008c677 (patch)
tree7a7bad3e930599d546c5178416a671f54deba119 /editeng/source
parent2c4621c87ed3a7b19de195c21494c9a381e72b2e (diff)
editeng: sal_Bool->bool
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/eerdll.cxx4
-rw-r--r--editeng/source/items/paraitem.cxx8
-rw-r--r--editeng/source/items/textitem.cxx4
-rw-r--r--editeng/source/rtf/rtfitem.cxx4
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
5 files changed, 11 insertions, 11 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx
index ba4419072440..8a8144cfa42f 100644
--- a/editeng/source/editeng/eerdll.cxx
+++ b/editeng/source/editeng/eerdll.cxx
@@ -107,7 +107,7 @@ SfxPoolItem** GlobalEditData::GetDefItems()
ppDefItems[1] = new SvXMLAttrContainerItem( EE_PARA_XMLATTRIBS );
ppDefItems[2] = new SfxBoolItem( EE_PARA_HANGINGPUNCTUATION, false );
ppDefItems[3] = new SfxBoolItem( EE_PARA_FORBIDDENRULES, true );
- ppDefItems[4] = new SvxScriptSpaceItem( sal_True, EE_PARA_ASIANCJKSPACING );
+ ppDefItems[4] = new SvxScriptSpaceItem( true, EE_PARA_ASIANCJKSPACING );
ppDefItems[5] = new SvxNumBulletItem( aDefaultNumRule, EE_PARA_NUMBULLET );
ppDefItems[6] = new SfxBoolItem( EE_PARA_HYPHENATE, false );
ppDefItems[7] = new SfxBoolItem( EE_PARA_BULLETSTATE, true );
@@ -132,7 +132,7 @@ SfxPoolItem** GlobalEditData::GetDefItems()
ppDefItems[24] = new SvxCrossedOutItem( STRIKEOUT_NONE, EE_CHAR_STRIKEOUT );
ppDefItems[25] = new SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC );
ppDefItems[26] = new SvxContourItem( false, EE_CHAR_OUTLINE );
- ppDefItems[27] = new SvxShadowedItem( sal_False, EE_CHAR_SHADOW );
+ ppDefItems[27] = new SvxShadowedItem( false, EE_CHAR_SHADOW );
ppDefItems[28] = new SvxEscapementItem( 0, 100, EE_CHAR_ESCAPEMENT );
ppDefItems[29] = new SvxAutoKernItem( false, EE_CHAR_PAIRKERNING );
ppDefItems[30] = new SvxKerningItem( 0, EE_CHAR_KERNING );
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index eff85f121a5b..906ba1ae1f5a 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -72,9 +72,9 @@ TYPEINIT1_FACTORY(SvxWidowsItem, SfxByteItem, new SvxWidowsItem(0, 0));
TYPEINIT1_FACTORY(SvxOrphansItem, SfxByteItem, new SvxOrphansItem(0, 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(SvxFmtSplitItem, SfxBoolItem, new SvxFmtSplitItem(false, 0));
TYPEINIT1_FACTORY(SvxPageModelItem, SfxStringItem, new SvxPageModelItem(0));
-TYPEINIT1_FACTORY(SvxScriptSpaceItem, SfxBoolItem, new SvxScriptSpaceItem(sal_False, 0));
+TYPEINIT1_FACTORY(SvxScriptSpaceItem, SfxBoolItem, new SvxScriptSpaceItem(false, 0));
TYPEINIT1_FACTORY(SvxHangingPunctuationItem, SfxBoolItem, new SvxHangingPunctuationItem(false, 0));
TYPEINIT1_FACTORY(SvxForbiddenRuleItem, SfxBoolItem, new SvxForbiddenRuleItem(false, 0));
TYPEINIT1_FACTORY(SvxParaVertAlignItem, SfxUInt16Item, new SvxParaVertAlignItem(0, 0));
@@ -1266,7 +1266,7 @@ SfxPoolItem* SvxFmtSplitItem::Create( SvStream& rStrm, sal_uInt16 ) const
{
sal_Int8 bIsSplit;
rStrm.ReadSChar( bIsSplit );
- return new SvxFmtSplitItem( sal_Bool( bIsSplit != 0 ), Which() );
+ return new SvxFmtSplitItem( bIsSplit != 0, Which() );
}
@@ -1371,7 +1371,7 @@ SfxItemPresentation SvxPageModelItem::GetPresentation
-SvxScriptSpaceItem::SvxScriptSpaceItem( sal_Bool bOn, const sal_uInt16 nId )
+SvxScriptSpaceItem::SvxScriptSpaceItem( bool bOn, const sal_uInt16 nId )
: SfxBoolItem( nId, bOn )
{
}
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 605905943f2a..f3720823d6ef 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -121,7 +121,7 @@ TYPEINIT1_FACTORY(SvxTextLineItem, SfxEnumItem, new SvxTextLineItem(UNDERLINE_NO
TYPEINIT1_FACTORY(SvxUnderlineItem, SfxEnumItem, new SvxUnderlineItem(UNDERLINE_NONE, 0));
TYPEINIT1_FACTORY(SvxOverlineItem, SfxEnumItem, new SvxOverlineItem(UNDERLINE_NONE, 0));
TYPEINIT1_FACTORY(SvxCrossedOutItem, SfxEnumItem, new SvxCrossedOutItem(STRIKEOUT_NONE, 0));
-TYPEINIT1_FACTORY(SvxShadowedItem, SfxBoolItem, new SvxShadowedItem(sal_False, 0));
+TYPEINIT1_FACTORY(SvxShadowedItem, SfxBoolItem, new SvxShadowedItem(false, 0));
TYPEINIT1_FACTORY(SvxAutoKernItem, SfxBoolItem, new SvxAutoKernItem(false, 0));
TYPEINIT1_FACTORY(SvxWordLineModeItem, SfxBoolItem, new SvxWordLineModeItem(sal_False, 0));
TYPEINIT1_FACTORY(SvxContourItem, SfxBoolItem, new SvxContourItem(false, 0));
@@ -1626,7 +1626,7 @@ bool SvxCrossedOutItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
// class SvxShadowedItem -------------------------------------------------
-SvxShadowedItem::SvxShadowedItem( const sal_Bool bShadowed, const sal_uInt16 nId ) :
+SvxShadowedItem::SvxShadowedItem( const bool bShadowed, const sal_uInt16 nId ) :
SfxBoolItem( nId, bShadowed )
{
}
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 37a5b5b5bd3f..5fb15d48cc05 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -307,7 +307,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
case RTF_KEEP:
if( PARDID->nSplit )
{
- pSet->Put( SvxFmtSplitItem( sal_False, PARDID->nSplit ));
+ pSet->Put( SvxFmtSplitItem( false, PARDID->nSplit ));
}
break;
@@ -518,7 +518,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
case RTF_ASPALPHA:
if( PARDID->nScriptSpace )
{
- pSet->Put( SvxScriptSpaceItem( sal_True,
+ pSet->Put( SvxScriptSpaceItem( true,
PARDID->nScriptSpace ));
}
break;
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index f1c6310261c2..0b9ee1624584 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -1133,7 +1133,7 @@ const SfxItemSet& SvxRTFParser::GetRTFDefaults()
sal_uInt16 nId;
if( 0 != ( nId = ((RTFPardAttrMapIds*)&aPardMap[0])->nScriptSpace ))
{
- SvxScriptSpaceItem aItem( sal_False, nId );
+ SvxScriptSpaceItem aItem( false, nId );
if( bNewDoc )
pAttrPool->SetPoolDefaultItem( aItem );
else