coverity#441203 Dereference after null check

Change-Id: I166e9ab8d3693568cc2b6a0ecd7d49532508116b
This commit is contained in:
Caolán McNamara
2014-02-22 20:59:00 +00:00
parent 841ea0ace7
commit c4a766db25

View File

@@ -286,7 +286,8 @@ OUString SAL_CALL ValueSetAcc::getAccessibleName()
const SolarMutexGuard aSolarGuard; const SolarMutexGuard aSolarGuard;
OUString aRet; OUString aRet;
if ( mpParent ) if (mpParent)
{
aRet = mpParent->GetAccessibleName(); aRet = mpParent->GetAccessibleName();
if ( aRet.isEmpty() ) if ( aRet.isEmpty() )
@@ -298,6 +299,7 @@ OUString SAL_CALL ValueSetAcc::getAccessibleName()
if (aRet.isEmpty()) if (aRet.isEmpty())
aRet = mpParent->GetQuickHelpText(); aRet = mpParent->GetQuickHelpText();
} }
}
return aRet; return aRet;
} }