diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 14:42:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 17:44:16 +0100 |
commit | ed4169f2e136c7573eb0520d2fd6404861f491e0 (patch) | |
tree | 6e5997ece7d649e361c6d58ba9a0611b5972da4e | |
parent | 0675ee723d45e8074d2e2188983a9c19866a9078 (diff) |
loplugin:nullptr (clang-cl)
Change-Id: I2e74a01c3500c1ac646479c571b6806c0fc566c1
Reviewed-on: https://gerrit.libreoffice.org/83769
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 597d75358d1c..c9a548c8c192 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -447,7 +447,7 @@ IMPL_LINK_NOARG(OfaMiscTabPage, FileAssocClick, weld::Button&, void) { const bool bUninit = SUCCEEDED(CoInitialize(nullptr)); IApplicationAssociationRegistrationUI* pIf = nullptr; - HRESULT res = CoCreateInstance(CLSID_ApplicationAssociationRegistrationUI, 0, + HRESULT res = CoCreateInstance(CLSID_ApplicationAssociationRegistrationUI, nullptr, CLSCTX_INPROC_SERVER, IID_IApplicationAssociationRegistrationUI, reinterpret_cast<LPVOID*>(&pIf)); |