mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1292 Fixed several style issues reported by CppCheck
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
};
|
||||
|
||||
public:
|
||||
RiaImageFileCompare(QString compareExecutable);
|
||||
explicit RiaImageFileCompare(QString compareExecutable);
|
||||
~RiaImageFileCompare();
|
||||
|
||||
bool runComparison(QString imgFileName, QString refFileName, QString diffFileName);
|
||||
|
||||
@@ -32,7 +32,7 @@ class RimIntersectionCollection;
|
||||
class RicAppendIntersectionFeatureCmd : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicAppendIntersectionFeatureCmd(RimIntersectionCollection* intersectionCollection);
|
||||
explicit RicAppendIntersectionFeatureCmd(RimIntersectionCollection* intersectionCollection);
|
||||
virtual ~RicAppendIntersectionFeatureCmd();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -37,7 +37,7 @@ class RimIntersectionCollection;
|
||||
class RicNewPolylineIntersectionFeatureCmd : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicNewPolylineIntersectionFeatureCmd(RimIntersectionCollection* intersectionCollection);
|
||||
explicit RicNewPolylineIntersectionFeatureCmd(RimIntersectionCollection* intersectionCollection);
|
||||
virtual ~RicNewPolylineIntersectionFeatureCmd();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -30,7 +30,7 @@ class RimEclipsePropertyFilter;
|
||||
class RicEclipsePropertyFilterInsertExec : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicEclipsePropertyFilterInsertExec(RimEclipsePropertyFilter* propertyFilter);
|
||||
explicit RicEclipsePropertyFilterInsertExec(RimEclipsePropertyFilter* propertyFilter);
|
||||
virtual ~RicEclipsePropertyFilterInsertExec();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -30,7 +30,7 @@ class RimEclipsePropertyFilterCollection;
|
||||
class RicEclipsePropertyFilterNewExec : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicEclipsePropertyFilterNewExec(RimEclipsePropertyFilterCollection* propertyFilterCollection);
|
||||
explicit RicEclipsePropertyFilterNewExec(RimEclipsePropertyFilterCollection* propertyFilterCollection);
|
||||
virtual ~RicEclipsePropertyFilterNewExec();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -30,7 +30,7 @@ class RimEclipseCellColors;
|
||||
class RicSaveEclipseResultAsInputPropertyExec : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicSaveEclipseResultAsInputPropertyExec(RimEclipseCellColors* cellColors);
|
||||
explicit RicSaveEclipseResultAsInputPropertyExec(RimEclipseCellColors* cellColors);
|
||||
virtual ~RicSaveEclipseResultAsInputPropertyExec();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -33,7 +33,7 @@ class RicBoxManipulatorEventHandler : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RicBoxManipulatorEventHandler(caf::Viewer* viewer);
|
||||
explicit RicBoxManipulatorEventHandler(caf::Viewer* viewer);
|
||||
~RicBoxManipulatorEventHandler();
|
||||
|
||||
void setOrigin(const cvf::Vec3d& origin);
|
||||
|
||||
@@ -33,7 +33,7 @@ class RicDeleteItemExecData;
|
||||
class RicDeleteItemExec : public CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicDeleteItemExec(NotificationCenter* notificationCenter);
|
||||
explicit RicDeleteItemExec(NotificationCenter* notificationCenter);
|
||||
|
||||
RicDeleteItemExecData* commandData();
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class RimGeoMechPropertyFilter;
|
||||
class RicGeoMechPropertyFilterInsertExec : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicGeoMechPropertyFilterInsertExec(RimGeoMechPropertyFilter* propertyFilter);
|
||||
explicit RicGeoMechPropertyFilterInsertExec(RimGeoMechPropertyFilter* propertyFilter);
|
||||
virtual ~RicGeoMechPropertyFilterInsertExec();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -30,7 +30,7 @@ class RimGeoMechPropertyFilterCollection;
|
||||
class RicGeoMechPropertyFilterNewExec : public caf::CmdExecuteCommand
|
||||
{
|
||||
public:
|
||||
RicGeoMechPropertyFilterNewExec(RimGeoMechPropertyFilterCollection* propertyFilterCollection);
|
||||
explicit RicGeoMechPropertyFilterNewExec(RimGeoMechPropertyFilterCollection* propertyFilterCollection);
|
||||
virtual ~RicGeoMechPropertyFilterNewExec();
|
||||
|
||||
virtual QString name();
|
||||
|
||||
@@ -43,7 +43,7 @@ RimWellLogPlot* RicNewWellLogPlotFeatureImpl::createWellLogPlot()
|
||||
wellLogPlotColl->wellLogPlots().push_back(plot);
|
||||
|
||||
// Make sure the summary plot window is created and visible
|
||||
RiuMainPlotWindow* plotwindow = RiaApplication::instance()->getOrCreateAndShowMainPlotWindow();
|
||||
RiaApplication::instance()->getOrCreateAndShowMainPlotWindow();
|
||||
|
||||
plot->setDescription(QString("Well Log Plot %1").arg(wellLogPlotCollection()->wellLogPlots.size()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user