From afeda72187e69d7bc8d7e37d98cce7601e2ffde8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Feb 2018 11:10:31 +0200 Subject: loplugin:useuniqueptr in SdrUndoGeoObj Change-Id: I8b48642a3a6ab4d94c1b58f8dae3589e703612b1 Reviewed-on: https://gerrit.libreoffice.org/49329 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/svdundo.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index 5fd24db225d5..793782d37ed1 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -207,10 +207,10 @@ public: class SVX_DLLPUBLIC SdrUndoGeoObj : public SdrUndoObj { protected: - SdrObjGeoData* pUndoGeo; - SdrObjGeoData* pRedoGeo; + std::unique_ptr pUndoGeo; + std::unique_ptr pRedoGeo; // If we have a group object: - SdrUndoGroup* pUndoGroup; + std::unique_ptr pUndoGroup; /// If we have a table object, should its layout change? bool mbSkipChangeLayout; -- cgit