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