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

coverity#704941 Unchecked dynamic_cast

Change-Id: I86eba45b6671f32682fbba8bf0cbbaae6fd174bd
üst 7c79237e
......@@ -4451,7 +4451,7 @@ namespace {
{
const SfxBoolItem* pListIsRestartItem =
dynamic_cast<const SfxBoolItem*>(pItem);
if ( pListIsRestartItem->GetValue() != mrTxtNode.IsListRestart() )
if (pListIsRestartItem && pListIsRestartItem->GetValue() != mrTxtNode.IsListRestart())
{
mbUpdateListRestart = 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