summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-02-03 15:42:20 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-02-03 15:42:20 +0000
commitf25d05f3219c80e51787967701a870d72b733893 (patch)
tree5766db900346488b152dd6828ca1b7e7a0c7b318 /sc/source/ui/undo
parent00511b8eefe78bdf357bd3b491cb1ded56e571e9 (diff)
parent25b005cbda460837f063ddf996c1ec72d4f4865b (diff)
cmcfixes71: merge with DEV300 m71
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undodat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index 7ab321ac0c1d..5c929ec7a11b 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -1876,7 +1876,7 @@ void __EXPORT ScUndoDataPilot::Undo()
else
{
// delete inserted object
- pDoc->GetDPCollection()->Free(pDocObj);
+ pDoc->GetDPCollection()->FreeTable(pDocObj);
}
}
}
@@ -1886,7 +1886,7 @@ void __EXPORT ScUndoDataPilot::Undo()
ScDPObject* pDestObj = new ScDPObject( *pOldDPObject );
pDestObj->SetAlive(TRUE);
- if ( !pDoc->GetDPCollection()->Insert(pDestObj) )
+ if ( !pDoc->GetDPCollection()->InsertNewTable(pDestObj) )
{
DBG_ERROR("cannot insert DPObject");
DELETEZ( pDestObj );