coverity#441203 Dereference after null check
Change-Id: I166e9ab8d3693568cc2b6a0ecd7d49532508116b
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user