summaryrefslogtreecommitdiff
path: root/sw/inc/flddat.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/flddat.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/flddat.hxx')
-rw-r--r--sw/inc/flddat.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index fa07bd5c5c52..8593b8d6d86b 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -108,14 +108,14 @@ public:
virtual void SetPar2(const OUString& rStr) SAL_OVERRIDE;
virtual OUString GetPar2() const SAL_OVERRIDE;
- inline sal_Bool IsDate() const
+ inline bool IsDate() const
{ return (nSubType & DATEFLD) != 0; }
inline void SetOffset(long nMinutes) { nOffset = nMinutes; }
inline long GetOffset() const { return nOffset; }
- Date GetDate(sal_Bool bUseOffset = sal_False) const;
- Time GetTime(sal_Bool bUseOffset = sal_False) const;
+ Date GetDate(bool bUseOffset = false) const;
+ Time GetTime(bool bUseOffset = false) const;
void SetDateTime(const DateTime& rDT);
static double GetDateTime(SwDoc* pDoc, const DateTime& rDT);