diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-15 10:47:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-15 11:58:28 +0100 |
commit | c7395735777f674bdd40efdfcbf56f488226e633 (patch) | |
tree | 3be0cd8f60aabdb0f03cbf1c94dde476701357e0 /sd/inc/undo | |
parent | 426d55c1a9510be5a95950a94d40463cf4f178fa (diff) |
loplugin:useuniqueptr in UndoRemovePresObjectImpl
Change-Id: Ieaaedf6d5815c9dd49dc2f992cfaef7f74c43428
Reviewed-on: https://gerrit.libreoffice.org/51312
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc/undo')
-rw-r--r-- | sd/inc/undo/undoobjects.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx index 2e0023246e10..59c120816415 100644 --- a/sd/inc/undo/undoobjects.hxx +++ b/sd/inc/undo/undoobjects.hxx @@ -42,9 +42,9 @@ protected: virtual void Redo(); private: - SfxUndoAction* mpUndoUsercall; - SfxUndoAction* mpUndoAnimation; - SfxUndoAction* mpUndoPresObj; + std::unique_ptr<SfxUndoAction> mpUndoUsercall; + std::unique_ptr<SfxUndoAction> mpUndoAnimation; + std::unique_ptr<SfxUndoAction> mpUndoPresObj; }; class UndoRemoveObject : public SdrUndoRemoveObj, public UndoRemovePresObjectImpl |