diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-28 11:42:43 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-09-29 12:26:20 +0000 |
commit | d3c7c9ea81ee7c617f8cee5b645621088aea215b (patch) | |
tree | 116b8534291360181d80a53554c930caf186f15e /basic/source/sbx/sbxint.cxx | |
parent | 2bce2365e7d411c1673e709eb1abc89da9f651dc (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'basic/source/sbx/sbxint.cxx')
-rw-r--r-- | basic/source/sbx/sbxint.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index 910b3e618824..142e36534811 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -172,7 +172,7 @@ start: break; case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) nRes = pVal->GetInteger(); else @@ -269,7 +269,7 @@ start: break; case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) pVal->PutInteger( n ); else @@ -450,7 +450,7 @@ start: break; case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) nRes = pVal->GetInt64(); else @@ -550,7 +550,7 @@ start: } case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) pVal->PutInt64( n ); else @@ -727,7 +727,7 @@ start: break; case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) nRes = pVal->GetUInt64(); else @@ -828,7 +828,7 @@ start: break; case SbxOBJECT: { - SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); + SbxValue* pVal = dynamic_cast<SbxValue*>( p->pObj ); if( pVal ) pVal->PutUInt64( n ); else |