summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2009-12-07 15:21:13 +0000
committerThomas Lange <tl@openoffice.org>2009-12-07 15:21:13 +0000
commit54b7bffbe525eda452120d4eff25389ca77fc553 (patch)
tree36716e08ab62f818cab993fa206c947e2f211d5b /svx/source/unodraw
parent12c7dc97e4470d70a9df30429c3dc51343682c07 (diff)
#i105988# accessibility crash
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 75c4d7ab68..5d4969020b 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -350,6 +350,9 @@ void SvxTextEditSourceImpl::ChangeModel( SdrModel* pNewModel )
void SvxTextEditSourceImpl::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
+ // #i105988 keep reference to this object
+ rtl::Reference< SvxTextEditSourceImpl > xThis( this );
+
const SdrHint* pSdrHint = PTR_CAST( SdrHint, &rHint );
const SvxViewHint* pViewHint = PTR_CAST( SvxViewHint, &rHint );