From beef70a79132f057aa72fda09522a0d6d49fc360 Mon Sep 17 00:00:00 2001 From: Jon Jenssen Date: Tue, 11 Aug 2020 17:47:08 +0200 Subject: [PATCH] Fix spelling of "Petrel" --- .../SurfaceCommands/RicExportKLayerToPtlFeature.cpp | 4 ++-- ApplicationCode/FileInterface/RifSurfaceExporter.cpp | 6 +++--- ApplicationCode/FileInterface/RifSurfaceExporter.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ApplicationCode/Commands/SurfaceCommands/RicExportKLayerToPtlFeature.cpp b/ApplicationCode/Commands/SurfaceCommands/RicExportKLayerToPtlFeature.cpp index de62713528..7fe964da62 100644 --- a/ApplicationCode/Commands/SurfaceCommands/RicExportKLayerToPtlFeature.cpp +++ b/ApplicationCode/Commands/SurfaceCommands/RicExportKLayerToPtlFeature.cpp @@ -84,7 +84,7 @@ void RicExportKLayerToPtlFeature::onActionTriggered( bool isChecked ) if ( surf->exportStructSurfaceFromGridCase( &vertices, &structGridVertexIndices ) ) { - RifSurfaceExporter::writePetrellPtlFile( fileName, vertices, structGridVertexIndices ); + RifSurfaceExporter::writePetrelPtlFile( fileName, vertices, structGridVertexIndices ); } } } @@ -95,5 +95,5 @@ void RicExportKLayerToPtlFeature::onActionTriggered( bool isChecked ) void RicExportKLayerToPtlFeature::setupActionLook( QAction* actionToSetup ) { actionToSetup->setIcon( QIcon( ":/ReservoirSurfaces16x16.png" ) ); - actionToSetup->setText( "Export Grid Case Surface to Petrell ptl-file" ); + actionToSetup->setText( "Export Grid Case Surface to Petrel ptl-file" ); } diff --git a/ApplicationCode/FileInterface/RifSurfaceExporter.cpp b/ApplicationCode/FileInterface/RifSurfaceExporter.cpp index 82e0281756..6f3e8f7f1d 100644 --- a/ApplicationCode/FileInterface/RifSurfaceExporter.cpp +++ b/ApplicationCode/FileInterface/RifSurfaceExporter.cpp @@ -80,9 +80,9 @@ bool RifSurfaceExporter::writeGocadTSurfFile( const QString& fil //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- -bool RifSurfaceExporter::writePetrellPtlFile( const QString& fileName, - const std::vector& vertices, - const std::vector>& columnRowIndices ) +bool RifSurfaceExporter::writePetrelPtlFile( const QString& fileName, + const std::vector& vertices, + const std::vector>& columnRowIndices ) { if ( vertices.size() != columnRowIndices.size() ) return false; diff --git a/ApplicationCode/FileInterface/RifSurfaceExporter.h b/ApplicationCode/FileInterface/RifSurfaceExporter.h index 4d4fd85637..d19a347768 100644 --- a/ApplicationCode/FileInterface/RifSurfaceExporter.h +++ b/ApplicationCode/FileInterface/RifSurfaceExporter.h @@ -34,7 +34,7 @@ public: const std::vector& vertices, const std::vector& triangleIndices ); - static bool writePetrellPtlFile( const QString& fileName, - const std::vector& vertices, - const std::vector>& columnRowIndices ); + static bool writePetrelPtlFile( const QString& fileName, + const std::vector& vertices, + const std::vector>& columnRowIndices ); };