diff options
author | Andreas Bregas <ab@openoffice.org> | 2011-01-05 16:30:02 +0100 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2011-01-05 16:30:02 +0100 |
commit | d1242e6c5c7884a68fcc6f84594c8a93fcde56b6 (patch) | |
tree | 6c7ec3e72919b1a39090646575330682d88daffe /basic/source/classes | |
parent | afbce2ebe1261cc7180a7cc980fedd49a7e2ff5a (diff) |
ab79: #i116184# Fixed warning
Diffstat (limited to 'basic/source/classes')
-rwxr-xr-x | basic/source/classes/sbunoobj.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index ac089dd2ce6d..870a6ea994b1 100755 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4177,10 +4177,10 @@ void RTL_Impl_CreateUnoValue( StarBASIC* pBasic, SbxArray& rPar, BOOL bWrite ) if( aTypeName == aTypeTypeString ) { SbxDataType eBaseType = pVal->SbxValue::GetType(); - String aTypeName; + String aValTypeName; if( eBaseType == SbxSTRING ) { - aTypeName = pVal->GetString(); + aValTypeName = pVal->GetString(); } else if( eBaseType == SbxOBJECT ) { @@ -4195,10 +4195,10 @@ void RTL_Impl_CreateUnoValue( StarBASIC* pBasic, SbxArray& rPar, BOOL bWrite ) } if( xIdlClass.is() ) - aTypeName = xIdlClass->getName(); + aValTypeName = xIdlClass->getName(); } Type aType; - bool bSuccess = implGetTypeByName( aTypeName, aType ); + bool bSuccess = implGetTypeByName( aValTypeName, aType ); if( bSuccess ) { Any aTypeAny( aType ); |