summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undoolk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undoolk.cxx')
-rw-r--r--sc/source/ui/undo/undoolk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undoolk.cxx b/sc/source/ui/undo/undoolk.cxx
index 060aac26c00b..6a8632fad499 100644
--- a/sc/source/ui/undo/undoolk.cxx
+++ b/sc/source/ui/undo/undoolk.cxx
@@ -23,7 +23,7 @@
#include <drwlayer.hxx>
#include <undoolk.hxx>
-SdrUndoAction* GetSdrUndoAction( ScDocument* pDoc )
+std::unique_ptr<SdrUndoAction> GetSdrUndoAction( ScDocument* pDoc )
{
ScDrawLayer* pLayer = pDoc->GetDrawLayer();
if (pLayer)