diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-29 11:00:09 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-09-30 06:07:57 +0000 |
commit | ac9671f94800b647f82b12e718968311a025e87e (patch) | |
tree | f3a665eb3527022d016fa9bfdbe4128a8387c967 /idl | |
parent | 53e6ac15a14b46c76049a9e6eb39da7bb4093037 (diff) |
tdf#94559: second step to remove rtti.hxx
replaced use of PTR_CAST, IS_TYPE, ISA in
chart2, connectivity, editeng, extensions, filter, forms, framework, idl
Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99
Reviewed-on: https://gerrit.libreoffice.org/18920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/slot.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 2b1c17265da8..42cf2f08b39c 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -428,7 +428,7 @@ bool SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) if( pAttr ) { // c - SvMetaSlot * pKnownSlot = PTR_CAST( SvMetaSlot, pAttr ); + SvMetaSlot * pKnownSlot = dynamic_cast<SvMetaSlot*>( pAttr ); if( pKnownSlot ) { SetRef( pKnownSlot ); @@ -453,7 +453,7 @@ bool SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) if( pAttr2 ) { // for testing purposes: reference in case of complete definition - SvMetaSlot * pKnownSlot = PTR_CAST( SvMetaSlot, pAttr2 ); + SvMetaSlot * pKnownSlot = dynamic_cast<SvMetaSlot*>( pAttr2 ); if( pKnownSlot ) { SetRef( pKnownSlot ); @@ -555,7 +555,7 @@ void SvMetaSlot::Insert( SvSlotElementList& rList, const OString& rPrefix, // iron out EnumSlots SvMetaTypeEnum * pEnum = NULL; SvMetaType * pBType = GetType()->GetBaseType(); - pEnum = PTR_CAST( SvMetaTypeEnum, pBType ); + pEnum = dynamic_cast<SvMetaTypeEnum*>( pBType ); if( GetPseudoSlots() && pEnum && pEnum->Count() ) { // clone the MasterSlot |