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
+3 -3
View File
@@ -92,7 +92,7 @@ namespace glabels
Template* Template::fullPage( const QString& paperId )
{
// TODO
return NULL;
return nullptr;
}
@@ -102,7 +102,7 @@ namespace glabels
const QString& equivPart )
{
const Template* other = Db::lookupTemplateFromBrandPart( brand, equivPart );
if ( other != NULL )
if ( other != nullptr )
{
Template* tmplate = other->dup();
@@ -119,7 +119,7 @@ namespace glabels
qWarning() << "Error: cannot create equivalent template for "
<< brand << ", " << equivPart
<< ". Forward references not supported.";
return NULL;
return nullptr;
}
}