summaryrefslogtreecommitdiff
path: root/sw/inc/fmtsrnd.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 14:00:35 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:44:42 +0200
commit6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch)
tree04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/fmtsrnd.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/fmtsrnd.hxx')
-rw-r--r--sw/inc/fmtsrnd.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/fmtsrnd.hxx b/sw/inc/fmtsrnd.hxx
index 5f974b3ddc56..c9687ffbbfed 100644
--- a/sw/inc/fmtsrnd.hxx
+++ b/sw/inc/fmtsrnd.hxx
@@ -30,9 +30,9 @@ class IntlWrapper;
// SwFmtSurround: How document content under the frame shall behave.
class SW_DLLPUBLIC SwFmtSurround: public SfxEnumItem
{
- sal_Bool bAnchorOnly :1;
- sal_Bool bContour :1;
- sal_Bool bOutside :1;
+ bool bAnchorOnly :1;
+ bool bContour :1;
+ bool bOutside :1;
public:
SwFmtSurround( SwSurround eNew = SURROUND_PARALLEL );
SwFmtSurround( const SwFmtSurround & );
@@ -51,13 +51,13 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
SwSurround GetSurround()const { return SwSurround( GetValue() ); }
- sal_Bool IsAnchorOnly() const { return bAnchorOnly; }
- sal_Bool IsContour() const { return bContour; }
- sal_Bool IsOutside() const { return bOutside; }
+ bool IsAnchorOnly() const { return bAnchorOnly; }
+ bool IsContour() const { return bContour; }
+ bool IsOutside() const { return bOutside; }
void SetSurround ( SwSurround eNew ){ SfxEnumItem::SetValue( sal_uInt16( eNew ) ); }
- void SetAnchorOnly( sal_Bool bNew ) { bAnchorOnly = bNew; }
- void SetContour( sal_Bool bNew ) { bContour = bNew; }
- void SetOutside( sal_Bool bNew ) { bOutside = bNew; }
+ void SetAnchorOnly( bool bNew ) { bAnchorOnly = bNew; }
+ void SetContour( bool bNew ) { bContour = bNew; }
+ void SetOutside( bool bNew ) { bOutside = bNew; }
};
inline SwFmtSurround &SwFmtSurround::operator=( const SwFmtSurround &rCpy )
@@ -69,10 +69,10 @@ inline SwFmtSurround &SwFmtSurround::operator=( const SwFmtSurround &rCpy )
return *this;
}
-inline const SwFmtSurround &SwAttrSet::GetSurround(sal_Bool bInP) const
+inline const SwFmtSurround &SwAttrSet::GetSurround(bool bInP) const
{ return (const SwFmtSurround&)Get( RES_SURROUND,bInP); }
-inline const SwFmtSurround &SwFmt::GetSurround(sal_Bool bInP) const
+inline const SwFmtSurround &SwFmt::GetSurround(bool bInP) const
{ return aSet.GetSurround(bInP); }
#endif