diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 10:45:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-28 07:40:21 +0100 |
commit | d337731d4f7017d51fab08f0edbac1effc9baf90 (patch) | |
tree | dc9396aecf2d93e5d7892584475a170c1ba17cbb /sw/inc/usrfld.hxx | |
parent | 2115482443be58ca21b38ac06c69627fdd04ecc1 (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/usrfld.hxx')
-rw-r--r-- | sw/inc/usrfld.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 80ab6c257c90..7723cf3a903c 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -47,7 +47,7 @@ public: SwUserFieldType( SwDoc* pDocPtr, const OUString& ); virtual OUString GetName() const override; - virtual SwFieldType* Copy() const override; + virtual std::unique_ptr<SwFieldType> Copy() const override; OUString Expand(sal_uInt32 nFormat, sal_uInt16 nSubType, LanguageType nLng); |