coverity#441203 Dereference after null check
Change-Id: I166e9ab8d3693568cc2b6a0ecd7d49532508116b
This commit is contained in:
parent
841ea0ace7
commit
c4a766db25
@ -286,7 +286,8 @@ OUString SAL_CALL ValueSetAcc::getAccessibleName()
|
||||
const SolarMutexGuard aSolarGuard;
|
||||
OUString aRet;
|
||||
|
||||
if ( mpParent )
|
||||
if (mpParent)
|
||||
{
|
||||
aRet = mpParent->GetAccessibleName();
|
||||
|
||||
if ( aRet.isEmpty() )
|
||||
@ -298,6 +299,7 @@ OUString SAL_CALL ValueSetAcc::getAccessibleName()
|
||||
if (aRet.isEmpty())
|
||||
aRet = mpParent->GetQuickHelpText();
|
||||
}
|
||||
}
|
||||
|
||||
return aRet;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user