summaryrefslogtreecommitdiff
path: root/sw/inc/fldbas.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/fldbas.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/fldbas.hxx')
-rw-r--r--sw/inc/fldbas.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index ddf1c3274b87..0d1724f542e3 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -285,7 +285,7 @@ private:
bool m_bUseFieldValueCache; /// control the usage of the cached field value
sal_uInt16 nLang; ///< Always change via SetLanguage!
- sal_Bool bIsAutomaticLanguage;
+ bool bIsAutomaticLanguage;
sal_uInt32 nFormat;
SwFieldType* pType;
@@ -356,11 +356,11 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId );
/// Does the field possess an action on its ClickHandler? (e.g. INetFields, ...).
- sal_Bool HasClickHdl() const;
- sal_Bool IsFixed() const;
+ bool HasClickHdl() const;
+ bool IsFixed() const;
- sal_Bool IsAutomaticLanguage() const { return bIsAutomaticLanguage;}
- void SetAutomaticLanguage(sal_Bool bSet){bIsAutomaticLanguage = bSet;}
+ bool IsAutomaticLanguage() const { return bIsAutomaticLanguage;}
+ void SetAutomaticLanguage(bool bSet){bIsAutomaticLanguage = bSet;}
virtual OUString GetDescription() const;
/// Is this field clickable?
@@ -380,7 +380,7 @@ inline sal_uInt16 SwField::GetLanguage() const
class SwValueFieldType : public SwFieldType
{
SwDoc* pDoc;
- sal_Bool bUseFormat; ///< Use number formatter.
+ bool bUseFormat; ///< Use number formatter.
protected:
SwValueFieldType( SwDoc* pDocPtr, sal_uInt16 nWhichId );
@@ -390,8 +390,8 @@ public:
inline SwDoc* GetDoc() const { return pDoc; }
inline void SetDoc(SwDoc* pNewDoc) { pDoc = pNewDoc; }
- inline sal_Bool UseFormat() const { return bUseFormat; }
- inline void EnableFormat(sal_Bool bFormat = sal_True) { bUseFormat = bFormat; }
+ inline bool UseFormat() const { return bUseFormat; }
+ inline void EnableFormat(bool bFormat = true) { bUseFormat = bFormat; }
OUString ExpandValue(const double& rVal, sal_uInt32 nFmt, sal_uInt16 nLng=0) const;
OUString DoubleToString(const double &rVal, LanguageType eLng) const;