From 54b7bffbe525eda452120d4eff25389ca77fc553 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 7 Dec 2009 15:21:13 +0000 Subject: #i105988# accessibility crash --- svx/source/unodraw/unoshtxt.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 ); -- cgit v1.2.3