summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2011-01-05 16:30:02 +0100
committerAndreas Bregas <ab@openoffice.org>2011-01-05 16:30:02 +0100
commitd1242e6c5c7884a68fcc6f84594c8a93fcde56b6 (patch)
tree6c7ec3e72919b1a39090646575330682d88daffe /basic/source/classes
parentafbce2ebe1261cc7180a7cc980fedd49a7e2ff5a (diff)
ab79: #i116184# Fixed warning
Diffstat (limited to 'basic/source/classes')
-rwxr-xr-xbasic/source/classes/sbunoobj.cxx8
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 );