Replace 0 and NULL with nullptr where apropriate.
- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
@@ -100,7 +100,7 @@ namespace glabels
|
||||
QString pwgSize = XmlUtil::getStringAttr( node, "pwg_size", "" );
|
||||
|
||||
Paper *paper = new Paper( id, name, width, height, pwgSize );
|
||||
if ( paper != NULL )
|
||||
if ( paper != nullptr )
|
||||
{
|
||||
Db::registerPaper( paper );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user