coverity#1158125 Unchecked dynamic_cast
Change-Id: Id560c9d5941ba679b92aaa2b2db0fb34a23d7a5f
This commit is contained in:
@@ -350,7 +350,8 @@ bool SeriesOptionsItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const Sf
|
||||
if (bIncludeHiddenCells != m_bIncludeHiddenCells)
|
||||
{
|
||||
ChartModel* pModel = dynamic_cast<ChartModel*>(m_xChartModel.get());
|
||||
bChanged = ChartModelHelper::setIncludeHiddenCells( bIncludeHiddenCells, *pModel );
|
||||
if (pModel)
|
||||
bChanged = ChartModelHelper::setIncludeHiddenCells( bIncludeHiddenCells, *pModel );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user