Kaydet (Commit) 127f62cc authored tarafından Noel Grandin's avatar Noel Grandin

editeng: sal_Bool->bool

Change-Id: Id309a574831dd46bce47009eb8c4879d26c3a332
üst ef16d954
......@@ -1162,7 +1162,7 @@ SfxPoolItem* SvxOpaqueItem::Create( SvStream& rStrm, sal_uInt16 ) const
{
sal_Int8 bIsOpaque;
rStrm.ReadSChar( bIsOpaque );
return new SvxOpaqueItem( Which(), sal_Bool( bIsOpaque != 0 ) );
return new SvxOpaqueItem( Which(), bIsOpaque != 0 );
}
......
......@@ -37,7 +37,7 @@ class EDITENG_DLLPUBLIC SvxOpaqueItem : public SfxBoolItem
public:
TYPEINFO();
explicit SvxOpaqueItem( const sal_uInt16 nId , const sal_Bool bOpa = sal_True );
explicit SvxOpaqueItem( const sal_uInt16 nId , const bool bOpa = true );
inline SvxOpaqueItem &operator=( const SvxOpaqueItem &rCpy );
// "pure virtual Methods" from SfxPoolItem
......@@ -51,7 +51,7 @@ public:
OUString &rText, const IntlWrapper * = 0 ) const;
};
inline SvxOpaqueItem::SvxOpaqueItem( const sal_uInt16 nId, const sal_Bool bOpa )
inline SvxOpaqueItem::SvxOpaqueItem( const sal_uInt16 nId, const bool bOpa )
: SfxBoolItem( nId, bOpa )
{}
......
......@@ -1320,7 +1320,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl,
pNewSet->ClearItem();
pNewSet->Put( SwFmtSurround( SURROUND_NONE ) );
pNewSet->Put( SvxOpaqueItem( RES_OPAQUE, sal_True ) );
pNewSet->Put( SvxOpaqueItem( RES_OPAQUE, true ) );
sal_Int16 eVert = bBefore ? text::VertOrientation::BOTTOM : text::VertOrientation::TOP;
pNewSet->Put( SwFmtVertOrient( 0, eVert ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment