Make wellLogFile field private in RimWellPath. Some whitespace changes

This commit is contained in:
Jacob Støren
2017-10-06 13:24:45 +02:00
parent 6f82f0f614
commit 9bb5dcf011
5 changed files with 15 additions and 13 deletions

View File

@@ -102,7 +102,7 @@ RimWellPath* RicNewWellLogFileCurveFeature::selectedWellPathWithLogFile() const
if (selection.size() > 0)
{
RimWellPath* wellPath = selection[0];
if (wellPath->m_wellLogFile())
if (wellPath->wellLogFile())
{
return wellPath;
}
@@ -123,9 +123,9 @@ bool RicNewWellLogFileCurveFeature::wellLogFilesAvailable() const
for (size_t i = 0; i < wellPaths.size(); i++)
{
if (wellPaths[i]->m_wellLogFile())
if (wellPaths[i]->wellLogFile())
{
if (wellPaths[i]->m_wellLogFile()->wellLogFile())
if (wellPaths[i]->wellLogFile()->wellLogFile())
{
return true;
}