summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/SysShExec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index 874c4f5e94cf..93eeaee36f03 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -156,7 +156,7 @@ CSysShExec::CSysShExec( const css::uno::Reference< css::uno::XComponentContext >
* Once this changed, we can remove the uninitialize call.
*/
CoUninitialize();
- CoInitialize( nullptr );
+ CoInitializeEx( nullptr, COINIT_APARTMENTTHREADED );
}
namespace