summaryrefslogtreecommitdiff
path: root/sw/inc/flddat.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 09:39:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 12:17:01 +0000
commit9ab408277b8c68f3d987a36744171fc0ef1de2f6 (patch)
tree9b3a8866e2e61a86be84cd77b03e9ccbabbdc80b /sw/inc/flddat.hxx
parent35a48ceb1d92021aa9ce1d17509cd72acc84c718 (diff)
loplugin:expandablemethodds in sw(part1)
Change-Id: Ic3a558e6b646b6b6bc4cb7e09a00695553023534 Reviewed-on: https://gerrit.libreoffice.org/30073 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/flddat.hxx')
-rw-r--r--sw/inc/flddat.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index e4f7643a2d56..0fd946059e5e 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -52,16 +52,13 @@ public:
SwDateTimeField(SwDateTimeFieldType* pType, sal_uInt16 nSubType = DATEFLD,
sal_uLong nFormat = 0, sal_uInt16 nLng = 0);
- virtual sal_uInt16 GetSubType() const override;
+ virtual sal_uInt16 GetSubType() const override;
virtual void SetSubType(sal_uInt16 nSub) override;
virtual double GetValue() const override;
virtual void SetPar2(const OUString& rStr) override;
- virtual OUString GetPar2() const override;
-
- inline bool IsDate() const
- { return (nSubType & DATEFLD) != 0; }
+ virtual OUString GetPar2() const override;
inline void SetOffset(long nMinutes) { nOffset = nMinutes; }
inline long GetOffset() const { return nOffset; }