summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 11:10:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-07 09:15:22 +0100
commitafeda72187e69d7bc8d7e37d98cce7601e2ffde8 (patch)
tree9956428367153624e57364d93f256b2493a6f32e /include
parent72fefd7ab6fd551effcf821e4e257df2756bece1 (diff)
loplugin:useuniqueptr in SdrUndoGeoObj
Change-Id: I8b48642a3a6ab4d94c1b58f8dae3589e703612b1 Reviewed-on: https://gerrit.libreoffice.org/49329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdundo.hxx6
1 files changed, 3 insertions, 3 deletions
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<SdrObjGeoData> pUndoGeo;
+ std::unique_ptr<SdrObjGeoData> pRedoGeo;
// If we have a group object:
- SdrUndoGroup* pUndoGroup;
+ std::unique_ptr<SdrUndoGroup> pUndoGroup;
/// If we have a table object, should its layout change?
bool mbSkipChangeLayout;