(clang-tidy) : modernize-use-nullptr

This commit is contained in:
Magne Sjaastad
2018-02-18 18:56:43 +01:00
parent 69875eec8f
commit 1ae30ef11a
195 changed files with 552 additions and 552 deletions

View File

@@ -107,7 +107,7 @@ RimPlotCurve::RimPlotCurve()
m_qwtPlotCurve = new RiuLineSegmentQwtPlotCurve;
m_parentQwtPlot = NULL;
m_parentQwtPlot = nullptr;
}
//--------------------------------------------------------------------------------------------------
@@ -119,7 +119,7 @@ RimPlotCurve::~RimPlotCurve()
{
m_qwtPlotCurve->detach();
delete m_qwtPlotCurve;
m_qwtPlotCurve = NULL;
m_qwtPlotCurve = nullptr;
}
if (m_parentQwtPlot)
@@ -373,7 +373,7 @@ void RimPlotCurve::updateCurveAppearance()
QColor curveColor(m_curveColor.value().rByte(), m_curveColor.value().gByte(), m_curveColor.value().bByte());
QwtSymbol* symbol = NULL;
QwtSymbol* symbol = nullptr;
if (m_pointSymbol() != SYMBOL_NONE)
{