coverity#1158120 Unchecked dynamic_cast
Change-Id: I1f23edb102a77acac1e32f6f0c3ca918de2bb16f
This commit is contained in:
@@ -176,8 +176,8 @@ OUString lcl_getDataPointValueText( const Reference< XDataSeries >& xSeries, sal
|
|||||||
|
|
||||||
if( aX.isEmpty() )
|
if( aX.isEmpty() )
|
||||||
{
|
{
|
||||||
ChartModel* pModel = dynamic_cast<ChartModel*>(xChartModel.get());
|
ChartModel& rModel = dynamic_cast<ChartModel&>(*xChartModel.get());
|
||||||
aRet = ExplicitCategoriesProvider::getCategoryByIndex( xCooSys, *pModel, nPointIndex );
|
aRet = ExplicitCategoriesProvider::getCategoryByIndex( xCooSys, rModel, nPointIndex );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user