Commit 32bb63f7 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

use nullptr

parent dd763e2f
......@@ -35,7 +35,7 @@ namespace KExiv2Iface
{
KExiv2Data::KExiv2Data()
: d(0)
: d(nullptr)
{
}
......
......@@ -1066,7 +1066,7 @@ KExiv2::TagsMap KExiv2::getStdExifTagsList() const
const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
while (gi->tagList_ != 0)
while (gi->tagList_ != nullptr)
{
if (QString::fromLatin1(gi->ifdName_) != QString::fromLatin1("Makernote"))
{
......@@ -1118,7 +1118,7 @@ KExiv2::TagsMap KExiv2::getMakernoteTagsList() const
const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
while (gi->tagList_ != 0)
while (gi->tagList_ != nullptr)
{
if (QString::fromLatin1(gi->ifdName_) == QString::fromLatin1("Makernote"))
{
......
......@@ -93,7 +93,7 @@ QByteArray KExiv2::getIptc(bool addIrbHeader) const
if (addIrbHeader)
{
c2 = Exiv2::Photoshop::setIptcIrb(0, 0, iptc);
c2 = Exiv2::Photoshop::setIptcIrb(nullptr, 0, iptc);
}
else
{
......
......@@ -41,7 +41,7 @@ public:
Private()
{
manager = 0;
manager = nullptr;
}
~Private()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment