summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/classMAnnivDate.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/UserInfoEx/src/classMAnnivDate.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/UserInfoEx/src/classMAnnivDate.h')
-rw-r--r--plugins/UserInfoEx/src/classMAnnivDate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/classMAnnivDate.h b/plugins/UserInfoEx/src/classMAnnivDate.h
index e6f328b0c0..987408cb63 100644
--- a/plugins/UserInfoEx/src/classMAnnivDate.h
+++ b/plugins/UserInfoEx/src/classMAnnivDate.h
@@ -89,14 +89,14 @@ public:
int CompareDays(MTime mt) const;
MZodiac Zodiac();
- int Age(MTime *pNow = NULL);
+ int Age(MTime *pNow = nullptr);
void Clear();
// read date from database
int DBGetDate(MCONTACT hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear);
int DBGetDateStamp(MCONTACT hContact, LPCSTR pszModule, LPCSTR pszSetting);
int DBGetAnniversaryDate(MCONTACT hContact, WORD iIndex);
- int DBGetBirthDate(MCONTACT hContact, LPSTR pszProto = NULL);
+ int DBGetBirthDate(MCONTACT hContact, LPSTR pszProto = nullptr);
int DBGetReminderOpts(MCONTACT hContact);
// write date to database
@@ -109,7 +109,7 @@ public:
int DBDeleteBirthDate(MCONTACT hContact);
int DBMoveBirthDate(MCONTACT hContact, BYTE bOld, BYTE bNew);
- int BackupBirthday (MCONTACT hContact, LPSTR pszProto = NULL, const BYTE bDontIgnoreAnything = FALSE, PWORD lastAnswer = NULL);
+ int BackupBirthday (MCONTACT hContact, LPSTR pszProto = nullptr, const BYTE bDontIgnoreAnything = FALSE, PWORD lastAnswer = nullptr);
// setting values
void SetDate(const SYSTEMTIME &st);