summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-31 15:02:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-01 06:44:46 +0100
commit9375e542f23fa35e02185996b8113dcc9ab29bcf (patch)
tree30f1b9a87dabb8bbe7adb9f3619c28073538ca96 /include/svl
parent15c86cadadcd389bfcf80ca285c1c298353d987f (diff)
use unique_ptr in markForDeletion
Change-Id: I10e5ad02243c7045d51191c735163ee4a027126e Reviewed-on: https://gerrit.libreoffice.org/62695 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/undo.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index ad189ea54a08..b4b4a2eb0abd 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -316,7 +316,7 @@ protected:
private:
size_t ImplLeaveListAction( const bool i_merge, ::svl::undo::impl::UndoManagerGuard& i_guard );
- bool ImplAddUndoAction_NoNotify( SfxUndoAction* pAction, bool bTryMerge, bool bClearRedo, ::svl::undo::impl::UndoManagerGuard& i_guard );
+ bool ImplAddUndoAction_NoNotify( std::unique_ptr<SfxUndoAction> pAction, bool bTryMerge, bool bClearRedo, ::svl::undo::impl::UndoManagerGuard& i_guard );
void ImplClearRedo( ::svl::undo::impl::UndoManagerGuard& i_guard, bool const i_currentLevel );
void ImplClearUndo( ::svl::undo::impl::UndoManagerGuard& i_guard );
void ImplClearCurrentLevel_NoNotify( ::svl::undo::impl::UndoManagerGuard& i_guard );