summaryrefslogtreecommitdiff
path: root/include/editeng/protitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 09:31:43 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 12:30:28 +0200
commit2a4a74a49913ffd42315e2e34c8d58594cebbb95 (patch)
treec935439b997db416edddc3de31561b465e786a4a /include/editeng/protitem.hxx
parentab49749dfc405752230fb7c2a0416f37e55be032 (diff)
editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
Diffstat (limited to 'include/editeng/protitem.hxx')
-rw-r--r--include/editeng/protitem.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx
index de46da707296..12de52d4b10d 100644
--- a/include/editeng/protitem.hxx
+++ b/include/editeng/protitem.hxx
@@ -34,9 +34,9 @@ class SvXMLUnitConverter;
class EDITENG_DLLPUBLIC SvxProtectItem : public SfxPoolItem
{
- sal_Bool bCntnt :1; // Content protected
- sal_Bool bSize :1; // Size protected
- sal_Bool bPos :1; // Position protected
+ bool bCntnt :1; // Content protected
+ bool bSize :1; // Size protected
+ bool bPos :1; // Position protected
public:
TYPEINFO();
@@ -57,12 +57,12 @@ public:
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const;
virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const;
- sal_Bool IsCntntProtected() const { return bCntnt; }
- sal_Bool IsSizeProtected() const { return bSize; }
- sal_Bool IsPosProtected() const { return bPos; }
- void SetCntntProtect( sal_Bool bNew ) { bCntnt = bNew; }
- void SetSizeProtect ( sal_Bool bNew ) { bSize = bNew; }
- void SetPosProtect ( sal_Bool bNew ) { bPos = bNew; }
+ bool IsCntntProtected() const { return bCntnt; }
+ bool IsSizeProtected() const { return bSize; }
+ bool IsPosProtected() const { return bPos; }
+ void SetCntntProtect( bool bNew ) { bCntnt = bNew; }
+ void SetSizeProtect ( bool bNew ) { bSize = bNew; }
+ void SetPosProtect ( bool bNew ) { bPos = bNew; }
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
@@ -71,7 +71,7 @@ public:
inline SvxProtectItem::SvxProtectItem( const sal_uInt16 nId )
: SfxPoolItem( nId )
{
- bCntnt = bSize = bPos = sal_False;
+ bCntnt = bSize = bPos = false;
}
inline SvxProtectItem &SvxProtectItem::operator=( const SvxProtectItem &rCpy )