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

coverity#704942 Unchecked dynamic_cast

Change-Id: I1090150b9cf5998549dabf73353a78e7e51e34ea
üst 620032dc
......@@ -4440,7 +4440,7 @@ namespace {
{
const SfxInt16Item* pListLevelItem =
dynamic_cast<const SfxInt16Item*>(pItem);
if ( pListLevelItem->GetValue() != mrTxtNode.GetAttrListLevel() )
if (pListLevelItem && pListLevelItem->GetValue() != mrTxtNode.GetAttrListLevel())
{
mbUpdateListLevel = true;
}
......
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