summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undotab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undotab.cxx')
-rw-r--r--sc/source/ui/undo/undotab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 5463cd509b69..f9956bded40c 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -904,7 +904,7 @@ void ScUndoImportTab::Undo()
if (bMakeRedo)
{
xRedoDoc.reset(new ScDocument(SCDOCMODE_UNDO));
- xRedoDoc->InitUndo(&rDoc, nTab,nTab+nCount-1, true, true);
+ xRedoDoc->InitUndo(rDoc, nTab,nTab+nCount-1, true, true);
OUString aOldName;
for (i=0; i<nCount; i++)