WaE: Werror=shadow
Change-Id: I7f1bddbed85076f1c909d0d9f4ecdd1cda6f1880
This commit is contained in:
@@ -617,16 +617,16 @@ SbxVariable* SbiRuntime::CheckArray( SbxVariable* pElem )
|
||||
if ( pDflt )
|
||||
{
|
||||
pDflt->Broadcast( SBX_HINT_DATAWANTED );
|
||||
SbxBaseRef pObj = (SbxBase*)pDflt->GetObject();
|
||||
if( pObj )
|
||||
SbxBaseRef pDfltObj = (SbxBase*)pDflt->GetObject();
|
||||
if( pDfltObj )
|
||||
{
|
||||
if( pObj->ISA(SbUnoObject) )
|
||||
if( pDfltObj->ISA(SbUnoObject) )
|
||||
{
|
||||
pUnoObj = (SbUnoObject*)(SbxBase*)pObj;
|
||||
Any aAny = pUnoObj->getUnoAny();
|
||||
pUnoObj = (SbUnoObject*)(SbxBase*)pDfltObj;
|
||||
Any aUnoAny = pUnoObj->getUnoAny();
|
||||
|
||||
if( aAny.getValueType().getTypeClass() == TypeClass_INTERFACE )
|
||||
x = *(Reference< XInterface >*)aAny.getValue();
|
||||
if( aUnoAny.getValueType().getTypeClass() == TypeClass_INTERFACE )
|
||||
x = *(Reference< XInterface >*)aUnoAny.getValue();
|
||||
pElem = pDflt;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user