From d3c7c9ea81ee7c617f8cee5b645621088aea215b Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Mon, 28 Sep 2015 11:42:43 +0200 Subject: tdf#94559: first step to remove rtti.hxx replaced use of PTR_CAST, IS_TYPE, ISA in avmedia, basctl, basic, cui, dbaccess, vcl,xmloff Change-Id: If4496762e82e896b6fbc362e6626502703c245f5 Reviewed-on: https://gerrit.libreoffice.org/18905 Tested-by: Jenkins Reviewed-by: Oliver Specht --- basctl/source/basicide/baside2b.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index be6a02ec8111..b060c6248998 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1151,8 +1151,8 @@ OUString EditorWindow::GetActualSubName( sal_uLong nLine ) SbxArrayRef pMethods = rModulWindow.GetSbModule()->GetMethods(); for( sal_uInt16 i=0; i < pMethods->Count(); i++ ) { - SbxVariable* p = PTR_CAST( SbMethod, pMethods->Get( i ) ); - SbMethod* pMeth = PTR_CAST( SbMethod, p ); + SbxVariable* p = dynamic_cast( pMethods->Get( i ) ); + SbMethod* pMeth = dynamic_cast( p ); if( pMeth ) { sal_uInt16 l1,l2; -- cgit