summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshtxt.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-04-28 14:01:25 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-04-28 14:01:25 +0000
commitb92cbb1673d29d20233a9f8fbd90019045230605 (patch)
tree129ebb679d4cf0232d21d708d19a2f075e4a0306 /svx/source/unodraw/unoshtxt.cxx
parent58f1817dcd7f0c1daa1752b03f68c2521f3f1d5b (diff)
INTEGRATION: CWS impress93 (1.52.230); FILE MERGED
2006/04/20 12:40:08 cl 1.52.230.1: #133468# removeObjectUser befor setting mpObject to 0 in dispose()
Diffstat (limited to 'svx/source/unodraw/unoshtxt.cxx')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 9d1431714a..6b0a4025a8 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unoshtxt.cxx,v $
*
- * $Revision: 1.52 $
+ * $Revision: 1.53 $
*
- * last change: $Author: rt $ $Date: 2005-12-14 15:55:56 $
+ * last change: $Author: rt $ $Date: 2006-04-28 15:01:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -530,7 +530,11 @@ void SvxTextEditSourceImpl::dispose()
mpView = 0;
}
- mpObject = 0;
+ if( mpObject )
+ {
+ mpObject->RemoveObjectUser( *this );
+ mpObject = 0;
+ }
mpWindow = 0;
}