diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 06:39:35 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 06:39:35 +0000 |
commit | 0a7ac527630dbddc747f36b805f468ce6e89be08 (patch) | |
tree | 2583d0a908cde50ee732b2bee6336fc3538e3eef /svx/source/svdraw/svdedtv.cxx | |
parent | 10a530b6edab1cc3048f868e591a4a4c2a0239d7 (diff) |
INTEGRATION: CWS oj14 (1.21.6); FILE MERGED
2007/06/26 20:13:31 fs 1.21.6.1: #i78908# ~SdrObject inaccessible now, need to use SdrObject::Free instead
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index 76f7ef5d04e6..5c01aac522e1 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdedtv.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: hr $ $Date: 2007-06-27 18:59:42 $ + * last change: $Author: rt $ $Date: 2007-07-06 07:39:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -815,7 +815,7 @@ BOOL SdrEditView::InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, ULONG nO SdrLayerID nLayer=rPV.GetPage()->GetLayerAdmin().GetLayerID(aAktLayer,TRUE); if (nLayer==SDRLAYER_NOTFOUND) nLayer=0; if (rPV.GetLockedLayers().IsSet(nLayer) || !rPV.GetVisibleLayers().IsSet(nLayer)) { - delete pObj; // Layer gesperrt oder nicht sichtbar + SdrObject::Free( pObj ); // Layer gesperrt oder nicht sichtbar return FALSE; } pObj->NbcSetLayer(nLayer); |