diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp index 8d1108f8f0..d342de6797 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp @@ -303,7 +303,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions(const std::ve } } - QString fileName = QString("%1_UnifiedCompletions_%2").arg(wellPath->completions()->wellNameForExport()).arg(eclipseCaseName); + QString fileName = QString("%1_UnifiedCompletions_%2").arg(wellPath->name()).arg(eclipseCaseName); sortAndExportCompletionsToFile(exportSettings.caseToApply, exportSettings.folder, fileName, @@ -344,7 +344,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions(const std::ve if (completionType == RigCompletionData::FRACTURE) completionTypeText = "Fracture"; if (completionType == RigCompletionData::PERFORATION) completionTypeText = "Perforation"; - QString fileName = QString("%1_%2_%3").arg(wellPath->completions()->wellNameForExport()).arg(completionTypeText).arg(eclipseCaseName); + QString fileName = QString("%1_%2_%3").arg(wellPath->name()).arg(completionTypeText).arg(eclipseCaseName); if (completionType == RigCompletionData::FRACTURE) { std::vector reportItemsForWell; diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportMswCompletionsImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportMswCompletionsImpl.cpp index 2a015c2a76..945e62ec7f 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportMswCompletionsImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportMswCompletionsImpl.cpp @@ -108,7 +108,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions( { QString wellFileName = QString("%1_UnifiedCompletions_MSW_%2") - .arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription()); + .arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription()); unifiedWellPathFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, wellFileName); } @@ -123,7 +123,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions( { QString fileName = QString("%1_Fracture_MSW_%2") - .arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription()); + .arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription()); fractureExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName); } exportWellSegmentsForFractures( @@ -141,7 +141,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions( { QString fileName = QString("%1_Perforation_MSW_%2") - .arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription()); + .arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription()); perforationsExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName); } @@ -163,7 +163,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions( { QString fileName = QString("%1_Fishbones_MSW_%2") - .arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription()); + .arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription()); fishbonesExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName); } exportWellSegmentsForFishbones(exportSettings.caseToApply,