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

coverity#1242421 Dereference after null check

Change-Id: I18441a147ed74ad2fc8a952ced1320b8b26e3ea9
üst f47080cb
......@@ -2397,7 +2397,7 @@ void VclBuilder::handleAtkObject(xmlreader::XmlReader &reader, const OString &rI
const OString &rKey = aI->first;
const OString &rValue = aI->second;
if (rKey.match("AtkObject::"))
if (pWindow && rKey.match("AtkObject::"))
pWindow->set_property(rKey.copy(RTL_CONSTASCII_LENGTH("AtkObject::")), rValue);
else
SAL_WARN("vcl.layout", "unhandled atk prop: " << rKey.getStr());
......
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