summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/ComHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/ComHelper.cpp')
-rw-r--r--plugins/Quotes/src/ComHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/ComHelper.cpp b/plugins/Quotes/src/ComHelper.cpp
index 6228ae9526..0dc689133f 100644
--- a/plugins/Quotes/src/ComHelper.cpp
+++ b/plugins/Quotes/src/ComHelper.cpp
@@ -11,7 +11,7 @@ tstring ComException2Msg(_com_error& e, const tstring& rsAdditionalInfo)
IErrorInfo* p = e.ErrorInfo();
CComPtr<IErrorInfo> pErrorInfo(p);
- if (NULL != p)
+ if (nullptr != p)
p->Release();
if (pErrorInfo)
@@ -24,5 +24,5 @@ void ShowComError(_com_error& e, const tstring& rsAdditionalInfo)
{
tstring sErrorMsg = ComException2Msg(e, rsAdditionalInfo);
LogIt(sErrorMsg);
- Quotes_MessageBox(NULL, sErrorMsg.c_str(), MB_OK | MB_ICONERROR);
+ Quotes_MessageBox(nullptr, sErrorMsg.c_str(), MB_OK | MB_ICONERROR);
}