diff options
-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)); |