Issue 79326

Summary: Remove CoInitializeEx from oslWorkerWrapperFunction
Product: porting Reporter: nospam4obr
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: dirk.voelzke, hennes.rohling, issues, pagalmes.lists
Version: 680m219   
Target Milestone: ---   
Hardware: All   
OS: Windows, all   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---

Description nospam4obr 2007-07-06 14:14:02 UTC
The shell execute service must be used in a STA context, but in OSL all threads
are already initialized with a MTA. So either the code needs to rely on
CoUninitialize to work correctly or we remove the CoInitializeEx from the
oslWorkerWrapperFunction.
Comment 1 kay.ramme 2007-07-06 14:45:12 UTC
.
Comment 2 nospam4obr 2008-07-23 12:14:13 UTC
In CWS register30 I marked the SystemShellExecute service implementation for
Windows as thread affine and added a CoUnitialize/CoInitialize sequence in its
c'tor.

The same sequence already exists in the online update check module, which
probably is obsolete with the latest change.

Both should be cleaned up when we drop the CoInitialize in sal.