Kaydet (Commit) 76617eea authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1249460 Unchecked dynamic_cast

Change-Id: I21f85d0e18ab8a30320f3db294efa9fbdd4dd55d
üst cd6bd10c
......@@ -102,7 +102,7 @@ void VCartesianCoordinateSystem::createVAxisList(
// note: using xChartDoc itself as XNumberFormatsSupplier would cause
// a leak from VCartesianAxis due to cyclic reference
uno::Reference<util::XNumberFormatsSupplier> const xNumberFormatsSupplier(
dynamic_cast<ChartModel*>(xChartDoc.get())->getNumberFormatsSupplier());
dynamic_cast<ChartModel&>(*xChartDoc.get()).getNumberFormatsSupplier());
m_aAxisMap.clear();
......
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