mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 17:10:19 -05:00
Remove unused code
This commit is contained in:
1 parent
2619f1a33a
commit
42d700ff7d
10 files changed
+15
-118
No files matched your search
@@ -368,51 +368,6 @@ QString RimSummaryPlot::asciiDataForSummaryPlotExport( RiaDefines::DateTimePerio
|
||||
return text;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmObject* RimSummaryPlot::findPdmObjectFromPlotCurve( const RiuPlotCurve* plotCurve ) const
|
||||
{
|
||||
for ( RimGridTimeHistoryCurve* curve : m_gridTimeHistoryCurves )
|
||||
{
|
||||
if ( curve->isSameCurve( plotCurve ) )
|
||||
{
|
||||
return curve;
|
||||
}
|
||||
}
|
||||
|
||||
for ( RimAsciiDataCurve* curve : m_asciiDataCurves )
|
||||
{
|
||||
if ( curve->isSameCurve( plotCurve ) )
|
||||
{
|
||||
return curve;
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_summaryCurveCollection )
|
||||
{
|
||||
RimSummaryCurve* foundCurve = m_summaryCurveCollection->findRimCurveFromPlotCurve( plotCurve );
|
||||
|
||||
if ( foundCurve )
|
||||
{
|
||||
m_summaryCurveCollection->setCurrentSummaryCurve( foundCurve );
|
||||
|
||||
return foundCurve;
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_ensembleCurveSetCollection )
|
||||
{
|
||||
RimSummaryCurve* foundCurve = m_ensembleCurveSetCollection->findRimCurveFromPlotCurve( plotCurve );
|
||||
|
||||
if ( foundCurve )
|
||||
{
|
||||
return foundCurve;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user