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

coverity#1326382 Dereference null return value

Change-Id: I1c427c3d6cae2cf1798adcc29cd6f5f51eb2b49e
üst 3af09eae
...@@ -409,6 +409,9 @@ public class StyleApplier ...@@ -409,6 +409,9 @@ public class StyleApplier
for (int i = 0; i < 2; i++) for (int i = 0; i < 2; i++)
{ {
XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i); XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i);
if (xPropertySet == null) {
continue;
}
setDBControlColors(xPropertySet, _iStyleColors); setDBControlColors(xPropertySet, _iStyleColors);
} }
} }
......
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