diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-04 23:30:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-04 23:34:33 +0200 |
commit | faf40b99aaa5dd0264921224d3a04b80c2cef329 (patch) | |
tree | bcd815744c3df0b2e59a64600e2a8c79279fcd37 /reportdesign | |
parent | f0223fd0e1e1fc22bfd8dee1980e24915d05f69e (diff) |
Missing launch of FactoryLoader threads
...regression introduced with 06a09dd0ad1e8afcf69e877501036e068d477438 "Join
FactoryLoader threads." (Also, hopefully, the original use of
osl::Thread::setPriority was just cargo cult, as salhelper::Thread does not make
that feature available to clients, so it had been dropped in
06a09dd0ad1e8afcf69e877501036e068d477438.)
Change-Id: I055c8fb20f3bbf13ba823436be24167d3446ed05
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index 07a94218cd1b..c678d1689ace 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -726,8 +726,9 @@ void OReportDefinition::init() const OUString* pEnd = pIter + aMimeTypes.getLength(); for ( ; pIter != pEnd; ++pIter ) { - m_pImpl->m_aFactoryLoaders.push_back( - new FactoryLoader(*pIter,m_aProps->m_xContext)); + rtl::Reference<salhelper::Thread> xCreatorThread = new FactoryLoader(*pIter,m_aProps->m_xContext); + m_pImpl->m_aFactoryLoaders.push_back(xCreatorThread); + xCreatorThread->launch(); } } |