diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/fmtline.hxx | |
parent | stoc: sal_Bool->bool (diff) | |
download | core-6aa35db39311dcd7965c9c9c21fcf4143a1f9b43.tar.gz core-6aa35db39311dcd7965c9c9c21fcf4143a1f9b43.zip |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/fmtline.hxx')
-rw-r--r-- | sw/inc/fmtline.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx index 6ab4031b5346..096bfa45dcc5 100644 --- a/sw/inc/fmtline.hxx +++ b/sw/inc/fmtline.hxx @@ -29,7 +29,7 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtLineNumber: public SfxPoolItem { sal_uLong nStartValue :24; ///< Starting value for the paragraph. 0 == no starting value. - sal_uLong bCountLines :1; ///< Also count lines of paragraph. + bool bCountLines :1; ///< Also count lines of paragraph. public: SwFmtLineNumber(); @@ -49,13 +49,13 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE; sal_uLong GetStartValue() const { return nStartValue; } - sal_Bool IsCount() const { return bCountLines != 0; } + bool IsCount() const { return bCountLines; } void SetStartValue( sal_uLong nNew ) { nStartValue = nNew; } - void SetCountLines( sal_Bool b ) { bCountLines = b; } + void SetCountLines( bool b ) { bCountLines = b; } }; -inline const SwFmtLineNumber &SwAttrSet::GetLineNumber(sal_Bool bInP) const +inline const SwFmtLineNumber &SwAttrSet::GetLineNumber(bool bInP) const { return (const SwFmtLineNumber&)Get( RES_LINENUMBER,bInP); } #endif |