summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshtxt.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2002-06-17 15:08:44 +0000
committerThorsten Behrens <thb@openoffice.org>2002-06-17 15:08:44 +0000
commit2c92f1c43d4f82f0884d5bf082e27d3a94693cae (patch)
tree33835b1a3a40152252ea2c8a78539469ee6dec67 /svx/source/unodraw/unoshtxt.cxx
parent5555e39debfd3209dafb6a14d2f195db6f6f554d (diff)
#100402# Invalidate text forwarder on ENDEDIT
Diffstat (limited to 'svx/source/unodraw/unoshtxt.cxx')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index ade09f413b..d36c298265 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoshtxt.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: thb $ $Date: 2002-06-13 18:44:47 $
+ * last change: $Author: thb $ $Date: 2002-06-17 16:08:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -390,6 +390,17 @@ void SvxTextEditSourceImpl::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// synched on EndTextEdit)
delete mpViewForwarder;
mpViewForwarder = NULL;
+
+ // #100424# Invalidate text forwarder, we might
+ // not be called again before entering edit mode a
+ // second time! Then, the old outliner might be
+ // invalid.
+ if( mbForwarderIsEditMode )
+ {
+ mbForwarderIsEditMode = sal_False;
+ delete mpTextForwarder;
+ mpTextForwarder = NULL;
+ }
}
break;
}