From b53a127f0470337c012f04c83d55f4ad2b88b38a Mon Sep 17 00:00:00 2001 From: Andreas Martens Date: Thu, 19 Oct 2000 10:56:49 +0000 Subject: Fix #78742#: A leaving SdrObject has to clean up --- sw/source/core/draw/dcontact.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/core/draw') diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 61e26611a069..cba9ae8fe511 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dcontact.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-19 00:08:18 $ + * last change: $Author: ama $ $Date: 2000-10-19 11:56:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -421,8 +421,8 @@ void SwDrawContact::_Changed(const SdrObject& rObj, SdrUserCallType eType, { if( bNotify ) lcl_Notify( this, pOldBoundRect ); - DisconnectFromLayout( FALSE ); SetMaster( NULL ); + GetFmt()->GetDoc()->DelLayoutFmt( GetFmt() ); delete this; break; } -- cgit v1.2.3