AppFwk : Fixed typo of firstAncestorOrThisOfType

This commit is contained in:
Magne Sjaastad
2016-09-21 13:59:41 +02:00
parent 1bcfc41542
commit 531aaaa445
60 changed files with 124 additions and 122 deletions

View File

@@ -204,7 +204,7 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate()
m_geomResultDefinition->setGeoMechCase(geomCase);
RimWellLogPlotCollection* wellLogCollection = NULL;
this->firstAnchestorOrThisOfType(wellLogCollection);
this->firstAncestorOrThisOfType(wellLogCollection);
CVF_ASSERT(wellLogCollection);
cvf::ref<RigEclipseWellLogExtractor> eclExtractor = wellLogCollection->findOrCreateExtractor(m_wellPath, eclipseCase);
@@ -269,7 +269,7 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate()
RimDefines::DepthUnitType displayUnit = RimDefines::UNIT_METER;
RimWellLogPlot* wellLogPlot;
firstAnchestorOrThisOfType(wellLogPlot);
firstAncestorOrThisOfType(wellLogPlot);
CVF_ASSERT(wellLogPlot);
displayUnit = wellLogPlot->depthUnit();
@@ -442,7 +442,7 @@ void RimWellLogExtractionCurve::setLogScaleFromSelectedResult()
if (resVar.toUpper().contains("PERM"))
{
RimWellLogTrack* track = NULL;
this->firstAnchestorOrThisOfType(track);
this->firstAncestorOrThisOfType(track);
if (track)
{
if (track->curveCount() == 1)