diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-17 19:04:02 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-17 19:06:39 +0900 |
commit | 30bd9fbd9317aeee15edbf98e50be59236c60a67 (patch) | |
tree | 481c4800b9fa3bbd341f28367662871f9df72321 /sw/inc/usrfld.hxx | |
parent | 3dd3fc17a6b8f5dbc3d795ac80ad737647ab553c (diff) |
sal_Bool to bool
Change-Id: I4700455a1f2057ac2cc32da0260c810311c84a4f
Diffstat (limited to 'sw/inc/usrfld.hxx')
-rw-r--r-- | sw/inc/usrfld.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index a16efc6d0832..90dfa1d30def 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -38,8 +38,8 @@ class SwDoc; class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType { - sal_Bool bValidValue : 1; - sal_Bool bDeleted : 1; + bool bValidValue : 1; + bool bDeleted : 1; double nValue; rtl::OUString aName; String aContent; @@ -56,8 +56,8 @@ public: String GetContent( sal_uInt32 nFmt = 0 ); void SetContent( const String& rStr, sal_uInt32 nFmt = 0 ); - inline sal_Bool IsValid() const; - inline void ChgValid( sal_Bool bNew ); + inline bool IsValid() const; + inline void ChgValid( bool bNew ); double GetValue(SwCalc& rCalc); // Recalculate member nValue. inline double GetValue() const; @@ -66,8 +66,8 @@ public: inline sal_uInt16 GetType() const; inline void SetType(sal_uInt16); - sal_Bool IsDeleted() const { return bDeleted; } - void SetDeleted( sal_Bool b ) { bDeleted = b; } + bool IsDeleted() const { return bDeleted; } + void SetDeleted( bool b ) { bDeleted = b; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nMId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nMId ); @@ -76,10 +76,10 @@ protected: virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ); }; -inline sal_Bool SwUserFieldType::IsValid() const +inline bool SwUserFieldType::IsValid() const { return bValidValue; } -inline void SwUserFieldType::ChgValid( sal_Bool bNew ) +inline void SwUserFieldType::ChgValid( bool bNew ) { bValidValue = bNew; } inline double SwUserFieldType::GetValue() const |