diff options
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 9d414580646f..3c7371095033 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1019,7 +1019,7 @@ void SvxShape::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw() // #i55919# HINT_OBJCHG is only interesting if it's for this object - const SdrHint* pSdrHint = PTR_CAST( SdrHint, &rHint ); + const SdrHint* pSdrHint = dynamic_cast<const SdrHint*>(&rHint); if (!pSdrHint || ( /* (pSdrHint->GetKind() != HINT_OBJREMOVED) && */ (pSdrHint->GetKind() != HINT_MODELCLEARED) && // #110094#-9 (pSdrHint->GetKind() != HINT_OBJLISTCLEAR) && |