summaryrefslogtreecommitdiff
path: root/sw/inc/authfld.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/authfld.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/authfld.hxx')
-rw-r--r--sw/inc/authfld.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 97e29bee214b..e7f63e7461d9 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -32,7 +32,7 @@ class SwAuthEntry
public:
SwAuthEntry() : nRefCount(0){}
SwAuthEntry( const SwAuthEntry& rCopy );
- sal_Bool operator==(const SwAuthEntry& rComp);
+ bool operator==(const SwAuthEntry& rComp);
inline OUString GetAuthorField(ToxAuthorityField ePos) const;
inline void SetAuthorField(ToxAuthorityField ePos,
@@ -64,8 +64,8 @@ class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType
SortKeyArr m_SortKeyArr;
sal_Unicode m_cPrefix;
sal_Unicode m_cSuffix;
- sal_Bool m_bIsSequence :1;
- sal_Bool m_bSortByDocument :1;
+ bool m_bIsSequence :1;
+ bool m_bSortByDocument :1;
LanguageType m_eLanguage;
OUString m_sSortAlgorithm;
@@ -85,7 +85,7 @@ public:
SwDoc* GetDoc(){ return m_pDoc; }
void RemoveField(sal_IntPtr nHandle);
sal_IntPtr AddField(const OUString& rFieldContents);
- sal_Bool AddField(sal_IntPtr nHandle);
+ bool AddField(sal_IntPtr nHandle);
void DelSequenceArray()
{
m_SequArr.clear();
@@ -103,8 +103,8 @@ public:
sal_uInt16 GetSequencePos(sal_IntPtr nHandle);
- sal_Bool IsSequence() const {return m_bIsSequence;}
- void SetSequence(sal_Bool bSet)
+ bool IsSequence() const {return m_bIsSequence;}
+ void SetSequence(bool bSet)
{
DelSequenceArray();
m_bIsSequence = bSet;
@@ -118,8 +118,8 @@ public:
sal_Unicode GetPrefix() const { return m_cPrefix;}
sal_Unicode GetSuffix() const { return m_cSuffix;}
- sal_Bool IsSortByDocument() const {return m_bSortByDocument;}
- void SetSortByDocument(sal_Bool bSet)
+ bool IsSortByDocument() const {return m_bSortByDocument;}
+ void SetSortByDocument(bool bSet)
{
DelSequenceArray();
m_bSortByDocument = bSet;