coverity#1326403 Dereference null return value
Change-Id: I1f191a2bc0139bada7603681eb0246de7dd15139
This commit is contained in:
@@ -169,6 +169,9 @@ public class UIControlArranger
|
|||||||
if (curControlForm.getArrangemode() == FormWizard.COLUMNAR_LEFT)
|
if (curControlForm.getArrangemode() == FormWizard.COLUMNAR_LEFT)
|
||||||
{
|
{
|
||||||
Control[] LabelControls = curControlForm.getLabelControls();
|
Control[] LabelControls = curControlForm.getLabelControls();
|
||||||
|
if (LabelControls == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (int n = 0; n < LabelControls.length; n++)
|
for (int n = 0; n < LabelControls.length; n++)
|
||||||
{
|
{
|
||||||
LabelControls[n].xPropertySet.setPropertyValue(PropertyNames.PROPERTY_ALIGN, Short.valueOf(iAlignValue));
|
LabelControls[n].xPropertySet.setPropertyValue(PropertyNames.PROPERTY_ALIGN, Short.valueOf(iAlignValue));
|
||||||
|
Reference in New Issue
Block a user