summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/dbdocfun.cxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2010-02-17 16:24:29 +0100
committerThomas Benisch <tbe@openoffice.org>2010-02-17 16:24:29 +0100
commiteee5ae330a49c18c4fe8666bc1c2dbc949dc0914 (patch)
tree8450428110c4300040e8d20bfba601bd231114da /sc/source/ui/docshell/dbdocfun.cxx
parent6fae3f3921beb7214a77887e083852f27011179a (diff)
parent25b005cbda460837f063ddf996c1ec72d4f4865b (diff)
chartlayout: merge with DEV300_m71
Diffstat (limited to 'sc/source/ui/docshell/dbdocfun.cxx')
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 33caccaed815..4042154b9a52 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1234,7 +1234,7 @@ BOOL ScDBDocFunc::DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewOb
aRange.aEnd.Col(), aRange.aEnd.Row(),
nTab, SC_MF_AUTO );
- pDoc->GetDPCollection()->Free( pOldObj ); // object is deleted here
+ pDoc->GetDPCollection()->FreeTable( pOldObj ); // object is deleted here
rDocShell.PostPaintGridAll(); //! only necessary parts
rDocShell.PostPaint( aRange.aStart.Col(), aRange.aStart.Row(), nTab,
@@ -1278,7 +1278,7 @@ BOOL ScDBDocFunc::DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewOb
pDestObj = new ScDPObject( *pNewObj );
pDestObj->SetAlive(TRUE);
- if ( !pDoc->GetDPCollection()->Insert(pDestObj) )
+ if ( !pDoc->GetDPCollection()->InsertNewTable(pDestObj) )
{
DBG_ERROR("cannot insert DPObject");
DELETEZ( pDestObj );