summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-02 09:06:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-03 08:20:56 +0200
commit72ec9cc3ace02e1ba15aa5843bc110b34b1d30a4 (patch)
tree96ce3c4345d7d9b9eb6881fe2e65b897de86da74 /include
parent5175e38d823ff11025d8f1df8f4f6ad9ed6b03e2 (diff)
loplugin:useuniqueptr in SdrCreateView
Change-Id: I41f3441593afa1884d5e8cda4126e97b545fd0a8 Reviewed-on: https://gerrit.libreoffice.org/53750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdcrtv.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/svdcrtv.hxx b/include/svx/svdcrtv.hxx
index 47858b29cf4e..add5d962ed59 100644
--- a/include/svx/svdcrtv.hxx
+++ b/include/svx/svdcrtv.hxx
@@ -22,6 +22,7 @@
#include <svx/svddrgv.hxx>
#include <svx/svxdllapi.h>
+#include <memory>
class XLineAttrSetItem;
class XFillAttrSetItem;
@@ -38,7 +39,7 @@ class SVX_DLLPUBLIC SdrCreateView : public SdrDragView
protected:
SdrObject* pCurrentCreate; // The currently being created object
SdrPageView* pCreatePV; // Here, the creation is started
- ImplConnectMarkerOverlay* mpCoMaOverlay;
+ std::unique_ptr<ImplConnectMarkerOverlay> mpCoMaOverlay;
// for migrating stuff from XOR, use ImpSdrCreateViewExtraData ATM to not need to
// compile the apps all the time