#1996 Renaming. Remove unused includes and rename local variables

This commit is contained in:
Rebecca Cox
2017-10-13 10:16:01 +02:00
parent d748803159
commit 7d908394db
31 changed files with 35 additions and 54 deletions

View File

@@ -115,10 +115,10 @@ bool RicNewSimWellFractureFeature::isCommandEnabled()
caf::PdmObjectHandle* objHandle = dynamic_cast<caf::PdmObjectHandle*>(pdmUiItem);
if (!objHandle) return false;
RimSimWellInView* eclipseWell = nullptr;
objHandle->firstAncestorOrThisOfType(eclipseWell);
RimSimWellInView* simWell = nullptr;
objHandle->firstAncestorOrThisOfType(simWell);
if (eclipseWell)
if (simWell)
{
return true;
}