From 2ec1dab4693cd45b475f02452114dd96ec0bda1b Mon Sep 17 00:00:00 2001 From: Noel <noel.grandin@collabora.co.uk> Date: Tue, 2 Feb 2021 13:24:24 +0200 Subject: use unique_ptr in SdrEditView::ImpConvertOneObj Change-Id: I18a796291f4c2f3b203940f474e2785580bf7d1a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110291 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> --- include/svx/svdedtv.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx index 560f4cf19fa5..916fdaeb186b 100644 --- a/include/svx/svdedtv.hxx +++ b/include/svx/svdedtv.hxx @@ -125,7 +125,7 @@ protected: // converts an object, when positive it removes the old one from its List // and inserts the new one instead. including Undo. // Nor MarkEntry nor ModelChgBroadcast is created. - SdrObject* ImpConvertOneObj(SdrObject* pObj, bool bPath, bool bLineToArea); + SdrObjectUniquePtr ImpConvertOneObj(SdrObject* pObj, bool bPath, bool bLineToArea); // set both flags: bToTopPossible and bToBtmPossible. // bToTopPossibleDirty and bToBtmPossibleDirty are reset at the same time -- cgit