Replace 0 and NULL with nullptr where apropriate.

- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
Jim Evins
2017-03-21 23:48:13 -04:00
parent e09936233a
commit 4be4ea08f6
54 changed files with 124 additions and 124 deletions
+5 -5
View File
@@ -43,7 +43,7 @@ namespace glabels
///
/// Constructor
///
LabelModelObject::LabelModelObject() : QObject(0)
LabelModelObject::LabelModelObject() : QObject(nullptr)
{
mId = msNextId++;
@@ -61,7 +61,7 @@ namespace glabels
mSelectedFlag = false;
mOutline = 0;
mOutline = nullptr;
}
@@ -96,7 +96,7 @@ namespace glabels
}
else
{
mOutline = 0;
mOutline = nullptr;
}
mMatrix = object->mMatrix;
@@ -606,7 +606,7 @@ namespace glabels
///
const QImage* LabelModelObject::image() const
{
return 0;
return nullptr;
}
@@ -1119,7 +1119,7 @@ namespace glabels
}
}
return 0;
return nullptr;
}