summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undobase.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-30 09:47:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-30 12:53:56 +0200
commit1f9f35177aca7000edd0ec5e68e4045e04cce535 (patch)
tree3d13dd0c0ce2c877f4e4ac45c8ca53db7faff518 /sc/source/ui/inc/undobase.hxx
parent32bf352c61754fe5ef39e0794b5d6dc71be99194 (diff)
pass ScRefUndoData around by std::unique_ptr
Change-Id: I317a0c7665f4c146fc34bcffdae8835cf674ff61 Reviewed-on: https://gerrit.libreoffice.org/59787 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/undobase.hxx')
-rw-r--r--sc/source/ui/inc/undobase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx
index 86da282b3f8b..5c33cbf9800a 100644
--- a/sc/source/ui/inc/undobase.hxx
+++ b/sc/source/ui/inc/undobase.hxx
@@ -142,7 +142,7 @@ class ScMoveUndo: public ScSimpleUndo // with references
{
public:
ScMoveUndo( ScDocShell* pDocSh,
- ScDocumentUniquePtr pRefDoc, ScRefUndoData* pRefData,
+ ScDocumentUniquePtr pRefDoc, std::unique_ptr<ScRefUndoData> pRefData,
ScMoveUndoMode eRefMode );
virtual ~ScMoveUndo() override;