mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-06 00:32:40 -08:00
Return Q_NULLPTR instead of 0 when the return type is a pointer.
This commit is contained in:
1 parent
fcc936ceff
commit
ecea101962
12 files changed
+67
-66
No files matched your search
@@ -895,7 +895,7 @@ QByteArray KeePass2XmlReader::readCompressedBinary()
|
||||
Group* KeePass2XmlReader::getGroup(const Uuid& uuid)
|
||||
{
|
||||
if (uuid.isNull()) {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
|
||||
if (m_groups.contains(uuid)) {
|
||||
@@ -914,7 +914,7 @@ Group* KeePass2XmlReader::getGroup(const Uuid& uuid)
|
||||
Entry* KeePass2XmlReader::getEntry(const Uuid& uuid)
|
||||
{
|
||||
if (uuid.isNull()) {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
|
||||
if (m_entries.contains(uuid)) {
|
||||
|
||||
Reference in new issue
Block a user