summaryrefslogtreecommitdiff
path: root/sw/source/core/draw
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2000-10-19 10:56:49 +0000
committerAndreas Martens <ama@openoffice.org>2000-10-19 10:56:49 +0000
commitb53a127f0470337c012f04c83d55f4ad2b88b38a (patch)
tree01778a7a1259075bee74e37ba4552b2a4baf0c69 /sw/source/core/draw
parenta7591ff6dd86a78280e9575dd879fe67b2cafd33 (diff)
Fix #78742#: A leaving SdrObject has to clean up
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r--sw/source/core/draw/dcontact.cxx6
1 files changed, 3 insertions, 3 deletions
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;
}