summaryrefslogtreecommitdiff
path: root/sw/inc/flddat.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 10:45:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 07:40:21 +0100
commitd337731d4f7017d51fab08f0edbac1effc9baf90 (patch)
treedc9396aecf2d93e5d7892584475a170c1ba17cbb /sw/inc/flddat.hxx
parent2115482443be58ca21b38ac06c69627fdd04ecc1 (diff)
return by unique_ptr from SwFieldType::Copy
Change-Id: I145b55c9cd62a5853c0dd26cc9b805b9f3a0e436 Reviewed-on: https://gerrit.libreoffice.org/69854 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.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index b2896729b8bd..38ea963196b9 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -37,7 +37,7 @@ class SwDateTimeFieldType : public SwValueFieldType
public:
SwDateTimeFieldType(SwDoc* pDoc);
- virtual SwFieldType* Copy() const override;
+ virtual std::unique_ptr<SwFieldType> Copy() const override;
};
class SW_DLLPUBLIC SwDateTimeField : public SwValueField