diff options
Diffstat (limited to 'sc/source/ui/inc/undodraw.hxx')
-rw-r--r-- | sc/source/ui/inc/undodraw.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/undodraw.hxx b/sc/source/ui/inc/undodraw.hxx index 20ec4799e8d3..0950d9d57821 100644 --- a/sc/source/ui/inc/undodraw.hxx +++ b/sc/source/ui/inc/undodraw.hxx @@ -37,7 +37,7 @@ public: ScUndoDraw( std::unique_ptr<SfxUndoAction> pUndo, ScDocShell* pDocSh ); virtual ~ScUndoDraw() override; - SfxUndoAction* ReleaseDrawUndo() { return pDrawUndo.release(); } + std::unique_ptr<SfxUndoAction> ReleaseDrawUndo() { return std::move(pDrawUndo); } virtual void Undo() override; virtual void Redo() override; |