sal_Bool->bool
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
This commit is contained in:
@@ -134,7 +134,7 @@ SfxPoolItem** GlobalEditData::GetDefItems()
|
||||
ppDefItems[26] = new SvxContourItem( sal_False, EE_CHAR_OUTLINE );
|
||||
ppDefItems[27] = new SvxShadowedItem( sal_False, EE_CHAR_SHADOW );
|
||||
ppDefItems[28] = new SvxEscapementItem( 0, 100, EE_CHAR_ESCAPEMENT );
|
||||
ppDefItems[29] = new SvxAutoKernItem( sal_False, EE_CHAR_PAIRKERNING );
|
||||
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[32] = new SvxLanguageItem( LANGUAGE_DONTKNOW, EE_CHAR_LANGUAGE );
|
||||
|
@@ -122,7 +122,7 @@ TYPEINIT1_FACTORY(SvxUnderlineItem, SfxEnumItem, new SvxUnderlineItem(UNDERLINE_
|
||||
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(SvxAutoKernItem, SfxBoolItem, new SvxAutoKernItem(sal_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(sal_False, 0));
|
||||
TYPEINIT1_FACTORY(SvxPropSizeItem, SfxUInt16Item, new SvxPropSizeItem(100, 0));
|
||||
@@ -1687,7 +1687,7 @@ SfxItemPresentation SvxShadowedItem::GetPresentation
|
||||
|
||||
// class SvxAutoKernItem -------------------------------------------------
|
||||
|
||||
SvxAutoKernItem::SvxAutoKernItem( const sal_Bool bAutoKern, const sal_uInt16 nId ) :
|
||||
SvxAutoKernItem::SvxAutoKernItem( const bool bAutoKern, const sal_uInt16 nId ) :
|
||||
SfxBoolItem( nId, bAutoKern )
|
||||
{
|
||||
}
|
||||
|
@@ -36,7 +36,7 @@ class EDITENG_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem
|
||||
public:
|
||||
TYPEINFO();
|
||||
|
||||
SvxAutoKernItem( const sal_Bool bAutoKern /*= sal_False*/,
|
||||
SvxAutoKernItem( const bool bAutoKern /*= false*/,
|
||||
const sal_uInt16 nId );
|
||||
|
||||
// "pure virtual Methods" from SfxPoolItem
|
||||
|
@@ -670,7 +670,7 @@ bool openCharDialog( const uno::Reference<report::XReportControlFormat >& _rxRep
|
||||
new SvxCaseMapItem(SVX_CASEMAP_NOT_MAPPED,ITEMID_CASEMAP),
|
||||
new SvxEscapementItem(ITEMID_ESCAPEMENT),
|
||||
new SvxFontListItem(pFontList.get(),ITEMID_FONTLIST),
|
||||
new SvxAutoKernItem(sal_False,ITEMID_AUTOKERN),
|
||||
new SvxAutoKernItem(false,ITEMID_AUTOKERN),
|
||||
new SvxColorListItem(pColorList.get(),ITEMID_COLOR_TABLE),
|
||||
new SvxBlinkItem(sal_False,ITEMID_BLINK),
|
||||
new SvxEmphasisMarkItem(EMPHASISMARK_NONE,ITEMID_EMPHASISMARK),
|
||||
|
@@ -165,7 +165,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
|
||||
|
||||
// set draw defaults directly
|
||||
SfxItemPool& rDrawPool = pDrawLayer->GetItemPool();
|
||||
rDrawPool.SetPoolDefaultItem( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rDrawPool.SetPoolDefaultItem( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
|
||||
UpdateDrawLanguages();
|
||||
if (bImportingXML)
|
||||
|
@@ -230,7 +230,7 @@ void SdDrawDocument::CreateLayoutTemplates()
|
||||
rISet.Put( SvxLineSpacingItem( LINE_SPACE_DEFAULT_HEIGHT, EE_PARA_SBL ) );
|
||||
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rISet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rISet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
|
||||
// Bullet
|
||||
// BulletItem and BulletFont for title and outline
|
||||
@@ -592,7 +592,7 @@ void SdDrawDocument::CreateDefaultCellStyles()
|
||||
rISet.Put( SdrTextLowerDistItem( 130 ) );
|
||||
|
||||
rISet.Put( SvxLineSpacingItem( LINE_SPACE_DEFAULT_HEIGHT, EE_PARA_SBL ) );
|
||||
rISet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rISet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
rISet.Put( SdrTextVertAdjustItem(SDRTEXTVERTADJUST_TOP) );
|
||||
rISet.Put( SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_LEFT) );
|
||||
|
||||
|
@@ -265,7 +265,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rSet.Put( SdrTextFitToSizeTypeItem(SDRTEXTFIT_AUTOFIT) );
|
||||
rSet.Put( SdrTextAutoGrowHeightItem(sal_False) );
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
|
||||
if( nLevel == 1 )
|
||||
{
|
||||
@@ -380,7 +380,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rTitleSet.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST ));
|
||||
rTitleSet.Put( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) );
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rTitleSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rTitleSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
|
||||
aBulletFont.SetSize(Size(0,1552)); // 44 pt
|
||||
PutNumBulletItem( pSheet, aBulletFont );
|
||||
@@ -425,7 +425,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rSubtitleSet.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST ));
|
||||
rSubtitleSet.Put( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) );
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rSubtitleSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rSubtitleSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
aSvxLRSpaceItem.SetTxtLeft(0);
|
||||
rSubtitleSet.Put(aSvxLRSpaceItem);
|
||||
|
||||
@@ -472,7 +472,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rNotesSet.Put( SvxColorItem( Color(COL_AUTO), EE_CHAR_COLOR ) );
|
||||
rNotesSet.Put( SvxLRSpaceItem( 0, 0, 600, -600, EE_PARA_LRSPACE ) );
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rNotesSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rNotesSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
|
||||
/* #i35937# */
|
||||
|
||||
@@ -496,7 +496,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rBackgroundObjectsSet.Put(SdrShadowXDistItem(200)); // 3 mm shadow distance
|
||||
rBackgroundObjectsSet.Put(SdrShadowYDistItem(200));
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rBackgroundObjectsSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rBackgroundObjectsSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
rBackgroundObjectsSet.Put(SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_BLOCK));
|
||||
}
|
||||
|
||||
@@ -516,7 +516,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, sal_
|
||||
rBackgroundSet.Put(XLineStyleItem(XLINE_NONE));
|
||||
rBackgroundSet.Put(XFillStyleItem(XFILL_NONE));
|
||||
// #i16874# enable kerning by default but only for new documents
|
||||
rBackgroundSet.Put( SvxAutoKernItem( sal_True, EE_CHAR_PAIRKERNING ) );
|
||||
rBackgroundSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
|
||||
}
|
||||
|
||||
DBG_ASSERT( !bCheck || !bCreated, "missing layout style sheets detected!" );
|
||||
|
@@ -470,7 +470,7 @@ void _InitCore()
|
||||
aAttrTab[ RES_CHRATR_WEIGHT- POOLATTR_BEGIN ] = new SvxWeightItem( WEIGHT_NORMAL, RES_CHRATR_WEIGHT );
|
||||
aAttrTab[ RES_CHRATR_RSID - POOLATTR_BEGIN ] = new SvxRsidItem( 0, RES_CHRATR_RSID );
|
||||
aAttrTab[ RES_CHRATR_WORDLINEMODE- POOLATTR_BEGIN ] = new SvxWordLineModeItem( sal_False, RES_CHRATR_WORDLINEMODE );
|
||||
aAttrTab[ RES_CHRATR_AUTOKERN- POOLATTR_BEGIN ] = new SvxAutoKernItem( sal_False, RES_CHRATR_AUTOKERN );
|
||||
aAttrTab[ RES_CHRATR_AUTOKERN- POOLATTR_BEGIN ] = new SvxAutoKernItem( false, RES_CHRATR_AUTOKERN );
|
||||
aAttrTab[ RES_CHRATR_BLINK - POOLATTR_BEGIN ] = new SvxBlinkItem( sal_False, RES_CHRATR_BLINK );
|
||||
aAttrTab[ RES_CHRATR_NOHYPHEN - POOLATTR_BEGIN ] = new SvxNoHyphenItem( sal_True, RES_CHRATR_NOHYPHEN );
|
||||
aAttrTab[ RES_CHRATR_NOLINEBREAK- POOLATTR_BEGIN ] = new SvxNoLinebreakItem( sal_True, RES_CHRATR_NOLINEBREAK );
|
||||
|
@@ -303,7 +303,7 @@ sal_Bool SwDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
|
||||
// <-- collapsing
|
||||
|
||||
//#i16874# AutoKerning as default for new documents
|
||||
pDoc->SetDefault( SvxAutoKernItem( sal_True, RES_CHRATR_AUTOKERN ) );
|
||||
pDoc->SetDefault( SvxAutoKernItem( true, RES_CHRATR_AUTOKERN ) );
|
||||
|
||||
// #i42080# - Due to the several calls of method <SetDefault(..)>
|
||||
// at the document instance, the document is modified. Thus, reset this
|
||||
|
Reference in New Issue
Block a user