summaryrefslogtreecommitdiff
path: root/sd/source/ui/table
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-02-25 18:04:05 +0100
committerChristian Lippka <christian.lippka@sun.com>2010-02-25 18:04:05 +0100
commit55525d4462565f4e47e92854158c5fe7a7e457ab (patch)
treeefaca9a09eabaf26521652c1037020ae2057548a /sd/source/ui/table
parent3c69551e7713eb9ad2da6e55d17c3de501d4c907 (diff)
more fixes for new presentation layout shapes
Diffstat (limited to 'sd/source/ui/table')
-rw-r--r--sd/source/ui/table/tablefunction.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 4c12445a513f..4ef479af977e 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -193,12 +193,6 @@ void DrawViewShell::FuTable(SfxRequest& rReq)
else
mpView->InsertObjectAtView(pObj, *pPV, SDRINSERT_SETDEFLAYER);
- if( !mpView->IsUndoEnabled() && pPickObj )
- {
- // replaced object must be freed if there is no undo action owning it
- SdrObject::Free( pPickObj );
- }
-
Invalidate(SID_DRAWTBX_INSERT);
rReq.Ignore();
break;