diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-15 20:49:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-15 20:49:11 +0000 |
commit | 4158ae52fb4a0d1141637593c47aed3bb5378e7e (patch) | |
tree | 10d7c742f2b3d2cb1211fa07e3ee8af88a3c2137 /basic | |
parent | Updated core (diff) | |
download | core-4158ae52fb4a0d1141637593c47aed3bb5378e7e.tar.gz core-4158ae52fb4a0d1141637593c47aed3bb5378e7e.zip |
WaE: Werror=shadow
Change-Id: I7f1bddbed85076f1c909d0d9f4ecdd1cda6f1880
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/step2.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx index a66b568a3b2f..168307538330 100644 --- a/basic/source/runtime/step2.cxx +++ b/basic/source/runtime/step2.cxx @@ -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; } } |