Kaydet (Commit) 2092a029 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326403 Dereference null return value

Change-Id: I1f191a2bc0139bada7603681eb0246de7dd15139
üst b8562697
......@@ -169,6 +169,9 @@ public class UIControlArranger
if (curControlForm.getArrangemode() == FormWizard.COLUMNAR_LEFT)
{
Control[] LabelControls = curControlForm.getLabelControls();
if (LabelControls == null) {
continue;
}
for (int n = 0; n < LabelControls.length; n++)
{
LabelControls[n].xPropertySet.setPropertyValue(PropertyNames.PROPERTY_ALIGN, Short.valueOf(iAlignValue));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment