summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undodat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/undodat.hxx')
-rw-r--r--sc/source/ui/inc/undodat.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 140bbecd9a9a..ae55159602ff 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -60,7 +60,8 @@ private:
SCCOLROW nStart;
SCCOLROW nEnd;
SCTAB nTab;
- ScDocument* pUndoDoc;
+ std::unique_ptr<ScDocument>
+ pUndoDoc;
bool bColumns;
sal_uInt16 nLevel;
sal_uInt16 nEntry;
@@ -87,7 +88,8 @@ public:
private:
ScAddress aBlockStart;
ScAddress aBlockEnd;
- ScOutlineTable* pUndoTable;
+ std::unique_ptr<ScOutlineTable>
+ pUndoTable;
bool bColumns;
bool bMake;
};