summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undoolk.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-23 14:23:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-27 08:21:44 +0200
commit50af4bf5c67eaac39d02cfe20584906eec058235 (patch)
treecc3fc72fb849943121c8df0f73937151c44931d9 /sc/source/ui/inc/undoolk.hxx
parent26ebaae4f1e43d43646cf132379058b4b78065af (diff)
loplugin:useuniqueptr in ScDrawLayer
Change-Id: I684e391b738be23ba7769b7c5b0a354f43a9226e Reviewed-on: https://gerrit.libreoffice.org/51903 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/undoolk.hxx')
-rw-r--r--sc/source/ui/inc/undoolk.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/undoolk.hxx b/sc/source/ui/inc/undoolk.hxx
index 4474cf3f4a64..c9c80b23fa7e 100644
--- a/sc/source/ui/inc/undoolk.hxx
+++ b/sc/source/ui/inc/undoolk.hxx
@@ -23,7 +23,7 @@
class SdrUndoAction;
class ScDocument;
-SdrUndoAction* GetSdrUndoAction ( ScDocument* pDoc );
+std::unique_ptr<SdrUndoAction> GetSdrUndoAction( ScDocument* pDoc );
void DoSdrUndoAction ( SdrUndoAction* pUndoAction, ScDocument* pDoc );
void RedoSdrUndoAction ( SdrUndoAction* pUndoAction );
void DeleteSdrUndoAction ( SdrUndoAction* pUndoAction );