summaryrefslogtreecommitdiff
path: root/sw/inc/flddat.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:18:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 08:04:53 +0200
commit1e822e401ea8fe950c7fb62172ac61d8396c98e9 (patch)
tree3a29227adfe1c5ec9209d7e7deb2035633104986 /sw/inc/flddat.hxx
parentb225980d2d65694278c9ed89512fbe21b08febd6 (diff)
use tools::Long in sw
Change-Id: I44be72b3a9b14823ec37a3c799cffb4fb4d6e1de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 38c16c9039a3..39c00f68a235 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -45,7 +45,7 @@ public:
class SW_DLLPUBLIC SwDateTimeField final : public SwValueField
{
sal_uInt16 m_nSubType;
- long m_nOffset; // Offset in minutes.
+ tools::Long m_nOffset; // Offset in minutes.
virtual OUString ExpandImpl(SwRootFrame const* pLayout) const override;
virtual std::unique_ptr<SwField> Copy() const override;
@@ -62,8 +62,8 @@ public:
virtual void SetPar2(const OUString& rStr) override;
virtual OUString GetPar2() const override;
- void SetOffset(long nMinutes) { m_nOffset = nMinutes; }
- long GetOffset() const { return m_nOffset; }
+ void SetOffset(tools::Long nMinutes) { m_nOffset = nMinutes; }
+ tools::Long GetOffset() const { return m_nOffset; }
Date GetDate() const;
tools::Time GetTime() const;