diff options
Diffstat (limited to 'basic/source/sbx/sbxvar.cxx')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 89b712cd2115..1bd8dfddb4ba 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -35,7 +35,6 @@ using namespace com::sun::star::uno; ///////////////////////////// SbxVariable TYPEINIT1(SbxVariable,SbxValue) -TYPEINIT1(SbxHint,SfxSimpleHint) ///////////////////////////// SbxVariableImpl @@ -685,7 +684,7 @@ void SbxAlias::Broadcast( sal_uIntPtr nHt ) void SbxAlias::SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) { - const SbxHint* p = PTR_CAST(SbxHint,&rHint); + const SbxHint* p = dynamic_cast<const SbxHint*>(&rHint); if( p && p->GetId() == SBX_HINT_DYING ) { xAlias.Clear(); |