summaryrefslogtreecommitdiff
path: root/sw/inc/fmtornt.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/fmtornt.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/fmtornt.hxx')
-rw-r--r--sw/inc/fmtornt.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index a967823700a7..2e7e01b4fca8 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -69,11 +69,11 @@ class SW_DLLPUBLIC SwFmtHoriOrient: public SfxPoolItem
SwTwips nXPos; ///< Contains *always* the current RelPos.
sal_Int16 eOrient;
sal_Int16 eRelation;
- sal_Bool bPosToggle : 1; ///< Flip position on even pages.
+ bool bPosToggle : 1; ///< Flip position on even pages.
public:
TYPEINFO_OVERRIDE();
SwFmtHoriOrient( SwTwips nX = 0, sal_Int16 eHori = com::sun::star::text::HoriOrientation::NONE,
- sal_Int16 eRel = com::sun::star::text::RelOrientation::PRINT_AREA, sal_Bool bPos = sal_False );
+ sal_Int16 eRel = com::sun::star::text::RelOrientation::PRINT_AREA, bool bPos = false );
inline SwFmtHoriOrient &operator=( const SwFmtHoriOrient &rCpy );
/// "Pure virtual methods" of SfxPoolItem.
@@ -95,8 +95,8 @@ public:
SwTwips GetPos() const { return nXPos; }
void SetPos( SwTwips nNew ) { nXPos = nNew; }
- sal_Bool IsPosToggle() const { return bPosToggle; }
- void SetPosToggle( sal_Bool bNew ) { bPosToggle = bNew; }
+ bool IsPosToggle() const { return bPosToggle; }
+ void SetPosToggle( bool bNew ) { bPosToggle = bNew; }
};
inline SwFmtVertOrient &SwFmtVertOrient::operator=( const SwFmtVertOrient &rCpy )
@@ -115,14 +115,14 @@ inline SwFmtHoriOrient &SwFmtHoriOrient::operator=( const SwFmtHoriOrient &rCpy
return *this;
}
-inline const SwFmtVertOrient &SwAttrSet::GetVertOrient(sal_Bool bInP) const
+inline const SwFmtVertOrient &SwAttrSet::GetVertOrient(bool bInP) const
{ return (const SwFmtVertOrient&)Get( RES_VERT_ORIENT,bInP); }
-inline const SwFmtHoriOrient &SwAttrSet::GetHoriOrient(sal_Bool bInP) const
+inline const SwFmtHoriOrient &SwAttrSet::GetHoriOrient(bool bInP) const
{ return (const SwFmtHoriOrient&)Get( RES_HORI_ORIENT,bInP); }
-inline const SwFmtVertOrient &SwFmt::GetVertOrient(sal_Bool bInP) const
+inline const SwFmtVertOrient &SwFmt::GetVertOrient(bool bInP) const
{ return aSet.GetVertOrient(bInP); }
-inline const SwFmtHoriOrient &SwFmt::GetHoriOrient(sal_Bool bInP) const
+inline const SwFmtHoriOrient &SwFmt::GetHoriOrient(bool bInP) const
{ return aSet.GetHoriOrient(bInP); }
#endif