#7361 Janitor : Guard null pointer access

This commit is contained in:
Magne Sjaastad
2021-02-24 20:39:14 +01:00
parent 1a28e71b68
commit ce2dd46a2e
6 changed files with 8 additions and 29 deletions

View File

@@ -272,14 +272,6 @@ size_t RimMultiPlot::plotIndex( const RimPlot* plot ) const
return m_plots.index( plot );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimPlot* RimMultiPlot::plotByIndex( size_t index ) const
{
return m_plots[index];
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------