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

coverity#1158125 Unchecked dynamic_cast

Change-Id: Id560c9d5941ba679b92aaa2b2db0fb34a23d7a5f
üst 6c45566e
...@@ -350,6 +350,7 @@ bool SeriesOptionsItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const Sf ...@@ -350,6 +350,7 @@ bool SeriesOptionsItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const Sf
if (bIncludeHiddenCells != m_bIncludeHiddenCells) if (bIncludeHiddenCells != m_bIncludeHiddenCells)
{ {
ChartModel* pModel = dynamic_cast<ChartModel*>(m_xChartModel.get()); ChartModel* pModel = dynamic_cast<ChartModel*>(m_xChartModel.get());
if (pModel)
bChanged = ChartModelHelper::setIncludeHiddenCells( bIncludeHiddenCells, *pModel ); bChanged = ChartModelHelper::setIncludeHiddenCells( bIncludeHiddenCells, *pModel );
} }
} }
......
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