editeng: sal_Bool->bool
Change-Id: I1a4b8ff5ccecc2776d1f145f8763f3dab6afb38b
This commit is contained in:
@@ -75,7 +75,7 @@ TYPEINIT1_FACTORY(SvxTabStopItem, SfxPoolItem, new SvxTabStopItem(0));
|
||||
TYPEINIT1_FACTORY(SvxFmtSplitItem, SfxBoolItem, new SvxFmtSplitItem(sal_False, 0));
|
||||
TYPEINIT1_FACTORY(SvxPageModelItem, SfxStringItem, new SvxPageModelItem(0));
|
||||
TYPEINIT1_FACTORY(SvxScriptSpaceItem, SfxBoolItem, new SvxScriptSpaceItem(sal_False, 0));
|
||||
TYPEINIT1_FACTORY(SvxHangingPunctuationItem, SfxBoolItem, new SvxHangingPunctuationItem(sal_False, 0));
|
||||
TYPEINIT1_FACTORY(SvxHangingPunctuationItem, SfxBoolItem, new SvxHangingPunctuationItem(false, 0));
|
||||
TYPEINIT1_FACTORY(SvxForbiddenRuleItem, SfxBoolItem, new SvxForbiddenRuleItem(sal_False, 0));
|
||||
TYPEINIT1_FACTORY(SvxParaVertAlignItem, SfxUInt16Item, new SvxParaVertAlignItem(0, 0));
|
||||
TYPEINIT1_FACTORY(SvxParaGridItem, SfxBoolItem, new SvxParaGridItem(sal_True, 0));
|
||||
@@ -1424,7 +1424,7 @@ SfxItemPresentation SvxScriptSpaceItem::GetPresentation(
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
SvxHangingPunctuationItem::SvxHangingPunctuationItem(
|
||||
sal_Bool bOn, const sal_uInt16 nId )
|
||||
bool bOn, const sal_uInt16 nId )
|
||||
: SfxBoolItem( nId, bOn )
|
||||
{
|
||||
}
|
||||
|
@@ -510,7 +510,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
|
||||
case RTF_NOOVERFLOW:
|
||||
if( PARDID->nHangPunct )
|
||||
{
|
||||
pSet->Put( SvxHangingPunctuationItem( sal_False,
|
||||
pSet->Put( SvxHangingPunctuationItem( false,
|
||||
PARDID->nHangPunct ));
|
||||
}
|
||||
break;
|
||||
|
@@ -34,8 +34,7 @@ class EDITENG_DLLPUBLIC SvxHangingPunctuationItem : public SfxBoolItem
|
||||
public:
|
||||
TYPEINFO();
|
||||
|
||||
SvxHangingPunctuationItem( sal_Bool bOn /*= sal_False*/,
|
||||
const sal_uInt16 nId );
|
||||
SvxHangingPunctuationItem( bool bOn /*= false*/, const sal_uInt16 nId );
|
||||
|
||||
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
|
||||
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const;
|
||||
|
@@ -543,7 +543,7 @@ void _InitCore()
|
||||
aAttrTab[ RES_PARATR_NUMRULE - POOLATTR_BEGIN ] = new SwNumRuleItem( OUString() );
|
||||
|
||||
aAttrTab[ RES_PARATR_SCRIPTSPACE - POOLATTR_BEGIN ] = new SvxScriptSpaceItem( sal_True, RES_PARATR_SCRIPTSPACE );
|
||||
aAttrTab[ RES_PARATR_HANGINGPUNCTUATION - POOLATTR_BEGIN ] = new SvxHangingPunctuationItem( sal_True, RES_PARATR_HANGINGPUNCTUATION );
|
||||
aAttrTab[ RES_PARATR_HANGINGPUNCTUATION - POOLATTR_BEGIN ] = new SvxHangingPunctuationItem( true, RES_PARATR_HANGINGPUNCTUATION );
|
||||
aAttrTab[ RES_PARATR_FORBIDDEN_RULES - POOLATTR_BEGIN ] = new SvxForbiddenRuleItem( sal_True, RES_PARATR_FORBIDDEN_RULES );
|
||||
aAttrTab[ RES_PARATR_VERTALIGN - POOLATTR_BEGIN ] = new SvxParaVertAlignItem( 0, RES_PARATR_VERTALIGN );
|
||||
aAttrTab[ RES_PARATR_SNAPTOGRID - POOLATTR_BEGIN ] = new SvxParaGridItem( sal_True, RES_PARATR_SNAPTOGRID );
|
||||
|
Reference in New Issue
Block a user