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 xCreatorThread = new FactoryLoader(*pIter,m_aProps->m_xContext); + m_pImpl->m_aFactoryLoaders.push_back(xCreatorThread); + xCreatorThread->launch(); } }