summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ex_import/classExImContactBase.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/ex_import/classExImContactBase.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactBase.h')
-rw-r--r--plugins/UserInfoEx/src/ex_import/classExImContactBase.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactBase.h b/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
index d24ffd5f8d..ad89480259 100644
--- a/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
+++ b/plugins/UserInfoEx/src/ex_import/classExImContactBase.h
@@ -49,12 +49,12 @@ public:
__inline DBVARIANT& uid() { return _dbvUID; }
__inline MCONTACT handle() const { return _hContact; }
- __inline void disp(LPCSTR val) { _pszDisp = val ? mir_strdup(val): NULL; }
- __inline void group(LPCSTR val) { _pszGroup = val ? mir_strdup(val): NULL; }
- __inline void nick(LPCSTR val) { _pszNick = val ? mir_strdup(val): NULL; }
- __inline void proto(LPCSTR val) { _pszProto = val ? mir_strdup(val): NULL; }
- __inline void ampro(LPCSTR val) { _pszAMPro = val ? mir_strdup(val): NULL; }
- __inline void uidk(LPCSTR val) { _pszUIDKey = val ? mir_strdup(val): NULL; }
+ __inline void disp(LPCSTR val) { _pszDisp = val ? mir_strdup(val): nullptr; }
+ __inline void group(LPCSTR val) { _pszGroup = val ? mir_strdup(val): nullptr; }
+ __inline void nick(LPCSTR val) { _pszNick = val ? mir_strdup(val): nullptr; }
+ __inline void proto(LPCSTR val) { _pszProto = val ? mir_strdup(val): nullptr; }
+ __inline void ampro(LPCSTR val) { _pszAMPro = val ? mir_strdup(val): nullptr; }
+ __inline void uidk(LPCSTR val) { _pszUIDKey = val ? mir_strdup(val): nullptr; }
__inline void uid(BYTE val) { _dbvUID.type = DBVT_BYTE; _dbvUID.bVal = val; }
__inline void uid(WORD val) { _dbvUID.type = DBVT_WORD; _dbvUID.wVal = val; }
__inline void uid(DWORD val) { _dbvUID.type = DBVT_DWORD; _dbvUID.dVal = val; }