summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-04 09:12:44 +0200
committerNoel Grandin <noel@peralex.com>2013-01-09 08:08:14 +0200
commitfd5a2eb07011e8aedfd5ef0a82edaf07221554ba (patch)
treecae1b578b1f5a3faea88499274c23303401a9439 /reportdesign
parent3a50e97499d0c1ff6307dcfe9883aea1af300947 (diff)
fdo#46808, new method OConfigurationTreeRoot::createWithComponentContext
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/ReportEngineJFree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/api/ReportEngineJFree.cxx b/reportdesign/source/core/api/ReportEngineJFree.cxx
index 0a3f89cb5073..07a662b046a1 100644
--- a/reportdesign/source/core/api/ReportEngineJFree.cxx
+++ b/reportdesign/source/core/api/ReportEngineJFree.cxx
@@ -244,7 +244,7 @@ void SAL_CALL OReportEngineJFree::setStatusIndicator( const uno::Reference< task
aConvertedProperties[nPos++].Value <<= m_xReport->getCaption();
// create job factory and initialize
- const ::rtl::OUString sReportEngineServiceName = ::dbtools::getDefaultReportEngineServiceName(xFactory);
+ const ::rtl::OUString sReportEngineServiceName = ::dbtools::getDefaultReportEngineServiceName(m_xContext);
uno::Reference<task::XJob> xJob(m_xContext->getServiceManager()->createInstanceWithContext(sReportEngineServiceName,m_xContext),uno::UNO_QUERY_THROW);
if ( !m_xReport->getCommand().isEmpty() )
{