mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(clang-tidy) : modernize-use-nullptr
This commit is contained in:
@@ -67,7 +67,7 @@ void RicIntersectionBoxAtPosFeature::onActionTriggered(bool isChecked)
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimGridView* rimView = NULL;
|
||||
RimGridView* rimView = nullptr;
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ void RicIntersectionBoxXSliceFeature::onActionTriggered(bool isChecked)
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimGridView* rimView = NULL;
|
||||
RimGridView* rimView = nullptr;
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ void RicIntersectionBoxYSliceFeature::onActionTriggered(bool isChecked)
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimGridView* rimView = NULL;
|
||||
RimGridView* rimView = nullptr;
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ void RicIntersectionBoxZSliceFeature::onActionTriggered(bool isChecked)
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimGridView* rimView = NULL;
|
||||
RimGridView* rimView = nullptr;
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user