diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-28 13:47:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-03 08:59:37 +0200 |
commit | 074a2af8bc26d5d1ba3ef01016df7d6d122cfb9f (patch) | |
tree | 1b05709f49dc7def3f0e1c94b9eac051d25d2425 /editeng | |
parent | 241f1a1ab47f56305725b2f33c23bac3ea919d79 (diff) |
editeng: sal_Bool->bool
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 4 | ||||
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index 8a8144cfa42f..2045105c693e 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -136,7 +136,7 @@ SfxPoolItem** GlobalEditData::GetDefItems() 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 ); - ppDefItems[31] = new SvxWordLineModeItem( sal_False, EE_CHAR_WLM ); + ppDefItems[31] = new SvxWordLineModeItem( false, EE_CHAR_WLM ); ppDefItems[32] = new SvxLanguageItem( LANGUAGE_DONTKNOW, EE_CHAR_LANGUAGE ); ppDefItems[33] = new SvxLanguageItem( LANGUAGE_DONTKNOW, EE_CHAR_LANGUAGE_CJK ); ppDefItems[34] = new SvxLanguageItem( LANGUAGE_DONTKNOW, EE_CHAR_LANGUAGE_CTL ); diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index ad3b0dfb5f41..7e8b813e133e 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -123,7 +123,7 @@ TYPEINIT1_FACTORY(SvxOverlineItem, SfxEnumItem, new SvxOverlineItem(UNDERLINE_NO TYPEINIT1_FACTORY(SvxCrossedOutItem, SfxEnumItem, new SvxCrossedOutItem(STRIKEOUT_NONE, 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(SvxWordLineModeItem, SfxBoolItem, new SvxWordLineModeItem(false, 0)); TYPEINIT1_FACTORY(SvxContourItem, SfxBoolItem, new SvxContourItem(false, 0)); TYPEINIT1_FACTORY(SvxPropSizeItem, SfxUInt16Item, new SvxPropSizeItem(100, 0)); TYPEINIT1_FACTORY(SvxColorItem, SfxPoolItem, new SvxColorItem(0)); @@ -1748,7 +1748,7 @@ SfxItemPresentation SvxAutoKernItem::GetPresentation // class SvxWordLineModeItem --------------------------------------------- -SvxWordLineModeItem::SvxWordLineModeItem( const sal_Bool bWordLineMode, +SvxWordLineModeItem::SvxWordLineModeItem( const bool bWordLineMode, const sal_uInt16 nId ) : SfxBoolItem( nId, bWordLineMode ) { diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 632e7c23fb0a..5baa24e125a1 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -788,7 +788,7 @@ SET_FONTALIGNMENT: if( PLAINID->nWordlineMode ) { - pSet->Put( SvxWordLineModeItem( sal_True, PLAINID->nWordlineMode )); + pSet->Put( SvxWordLineModeItem( true, PLAINID->nWordlineMode )); } goto ATTR_SETUNDERLINE; @@ -883,7 +883,7 @@ ATTR_SETUNDERLINE: if( PLAINID->nWordlineMode ) { - pSet->Put( SvxWordLineModeItem( sal_True, PLAINID->nWordlineMode )); + pSet->Put( SvxWordLineModeItem( true, PLAINID->nWordlineMode )); } goto ATTR_SETOVERLINE; |