diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:33:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 22:12:02 +0200 |
commit | 592c31a8fa8729259cf42440a0a26c0322bbbba5 (patch) | |
tree | 5448499c937ca9a5fba1ecb8c6a278180359853d /sw/inc/docufld.hxx | |
parent | ef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (diff) |
loplugin:returnconstval in sw
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf
Reviewed-on: https://gerrit.libreoffice.org/78062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index abdfe644a798..e6afd73af156 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -471,8 +471,8 @@ public: virtual std::unique_ptr<SwField> Copy() const override; const DateTime& GetDateTime() const { return m_aDateTime; } - const Date GetDate() const { return Date(m_aDateTime.GetDate()); } - const tools::Time GetTime() const { return tools::Time(m_aDateTime.GetTime()); } + Date GetDate() const { return Date(m_aDateTime.GetDate()); } + tools::Time GetTime() const { return tools::Time(m_aDateTime.GetTime()); } sal_uInt32 GetPostItId() const { return m_nPostItId; } /// Author |