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

coverity#1326386 Dereference null return value

Change-Id: Ifd1cd2cfb6032e7a2d14d926d4de8be22160daee
üst b3e0bd62
......@@ -1254,6 +1254,10 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
final LexicalUnit cssValue = styleSheetParserUtil.parseLexicalStyleValue(
if (cssValue == null) {
CSSNumericValue zeroLength = CSSNumericValue.createValue(CSSNumericType.CM, 0);
return zeroLength;
return CSSValueFactory.createLengthValue(cssValue);
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