Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
libkexiv2
Commits
32bb63f7
Commit
32bb63f7
authored
Apr 14, 2019
by
Albert Astals Cid
Browse files
use nullptr
parent
dd763e2f
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/kexiv2data.cpp
View file @
32bb63f7
...
...
@@ -35,7 +35,7 @@ namespace KExiv2Iface
{
KExiv2Data
::
KExiv2Data
()
:
d
(
0
)
:
d
(
nullptr
)
{
}
...
...
src/kexiv2exif.cpp
View file @
32bb63f7
...
...
@@ -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"
))
{
...
...
src/kexiv2iptc.cpp
View file @
32bb63f7
...
...
@@ -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
{
...
...
src/kexiv2previews.cpp
View file @
32bb63f7
...
...
@@ -41,7 +41,7 @@ public:
Private
()
{
manager
=
0
;
manager
=
nullptr
;
}
~
Private
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment