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

coverity#704940 Unchecked dynamic_cast

Change-Id: I53662b9d48ae44c21c9cc79bda01487d87e8dfdd
üst f1b03094
...@@ -4474,7 +4474,7 @@ namespace { ...@@ -4474,7 +4474,7 @@ namespace {
{ {
const SfxBoolItem* pIsCountedInListItem = const SfxBoolItem* pIsCountedInListItem =
dynamic_cast<const SfxBoolItem*>(pItem); dynamic_cast<const SfxBoolItem*>(pItem);
if ( pIsCountedInListItem->GetValue() != if ( pIsCountedInListItem && pIsCountedInListItem->GetValue() !=
mrTxtNode.IsCountedInList() ) mrTxtNode.IsCountedInList() )
{ {
mbUpdateListCount = true; mbUpdateListCount = 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