summaryrefslogtreecommitdiffstats
path: root/include/svx/svdopath.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-02-08 14:54:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-09 07:41:46 +0100
commit80ad69dc67fa0bfaf6f99cd0b5a458dcaaee6e33 (patch)
tree253763c6f32fb12a182d3a3b2e2a13f9f0c3b091 /include/svx/svdopath.hxx
parentRemove deadcode SwModify::CheckCaching() (diff)
downloadcore-80ad69dc67fa0bfaf6f99cd0b5a458dcaaee6e33.tar.gz
core-80ad69dc67fa0bfaf6f99cd0b5a458dcaaee6e33.zip
return by unique_ptr from NewGeoData
Change-Id: Iab806959d79ce828069cb16b6a7883981d85dfaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdopath.hxx')
-rw-r--r--include/svx/svdopath.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdopath.hxx b/include/svx/svdopath.hxx
index f1a5b1b2b2aa..f8360d178f71 100644
--- a/include/svx/svdopath.hxx
+++ b/include/svx/svdopath.hxx
@@ -128,7 +128,7 @@ public:
SdrObject* RipPoint(sal_uInt32 nHdlNum, sal_uInt32& rNewPt0Index);
private:
- virtual SdrObjGeoData* NewGeoData() const override;
+ virtual std::unique_ptr<SdrObjGeoData> NewGeoData() const override;
virtual void SaveGeoData(SdrObjGeoData& rGeo) const override;
virtual void RestGeoData(const SdrObjGeoData& rGeo) override;