summaryrefslogtreecommitdiff
path: root/svx/source
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
commit51ddd05ed983a4fdebe2d8fc298150223d144759 (patch)
treec3947dd58875f08ce642b6bd67708186de1cf5fe /svx/source
parent875ac20478f16e5107acb222c0b851b99d2e0f27 (diff)
#i105988# accessibility crash
Diffstat (limited to 'svx/source')
-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 81439effcfc1..0c35d7d4a6eb 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 );