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

@@ -87,7 +87,7 @@ void RivCrossSectionPartMgr::updateCellResultColor(size_t timeStepIndex)
if (!m_crossSectionGenerator->isAnyGeometryPresent()) return;
RimEclipseView* eclipseView;
m_rimCrossSection->firstAnchestorOrThisOfType(eclipseView);
m_rimCrossSection->firstAncestorOrThisOfType(eclipseView);
if (eclipseView)
{
@@ -150,7 +150,7 @@ void RivCrossSectionPartMgr::updateCellResultColor(size_t timeStepIndex)
}
RimGeoMechView* geoView;
m_rimCrossSection->firstAnchestorOrThisOfType(geoView);
m_rimCrossSection->firstAncestorOrThisOfType(geoView);
if (geoView)
{
@@ -518,7 +518,7 @@ cvf::ref<RivCrossSectionHexGridIntf> RivCrossSectionPartMgr::createHexGridInterf
{
RimEclipseView* eclipseView;
m_rimCrossSection->firstAnchestorOrThisOfType(eclipseView);
m_rimCrossSection->firstAncestorOrThisOfType(eclipseView);
if (eclipseView)
{
RigMainGrid* grid = NULL;
@@ -527,7 +527,7 @@ cvf::ref<RivCrossSectionHexGridIntf> RivCrossSectionPartMgr::createHexGridInterf
}
RimGeoMechView* geoView;
m_rimCrossSection->firstAnchestorOrThisOfType(geoView);
m_rimCrossSection->firstAncestorOrThisOfType(geoView);
if (geoView)
{
RigFemPart* femPart = geoView->geoMechCase()->geoMechData()->femParts()->part(0);

View File

@@ -456,7 +456,7 @@ void RivFaultPartMgr::createLabelWithAnchorLine(const cvf::Part* part)
if (noConstRimFault)
{
RimFaultCollection* parentObject;
noConstRimFault->firstAnchestorOrThisOfType(parentObject);
noConstRimFault->firstAncestorOrThisOfType(parentObject);
if (parentObject)
{
defWellLabelColor = parentObject->faultLabelColor();;

View File

@@ -88,7 +88,7 @@ void RivWellPathPartMgr::buildWellPathParts(cvf::Vec3d displayModelOffset, doubl
cvf::BoundingBox wellPathClipBoundingBox)
{
RimWellPathCollection* wellPathCollection = NULL;
m_rimWellPath->firstAnchestorOrThisOfType(wellPathCollection);
m_rimWellPath->firstAncestorOrThisOfType(wellPathCollection);
if (!wellPathCollection) return;
RigWellPath* wellPathGeometry = m_rimWellPath->wellPathGeometry();
@@ -234,7 +234,7 @@ void RivWellPathPartMgr::appendStaticGeometryPartsToModel(cvf::ModelBasicList* m
double characteristicCellSize, cvf::BoundingBox wellPathClipBoundingBox)
{
RimWellPathCollection* wellPathCollection = NULL;
m_rimWellPath->firstAnchestorOrThisOfType(wellPathCollection);
m_rimWellPath->firstAncestorOrThisOfType(wellPathCollection);
if (!wellPathCollection) return;
if (m_rimWellPath.isNull()) return;