diff options
author | Noel Grandin <noel@peralex.com> | 2013-03-08 12:57:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-03-20 07:32:50 +0200 |
commit | e655c756c48f3ba21e18eae6b705432e5dd37a08 (patch) | |
tree | 924423b626d28920c776720ce12d46243755d4a6 /sw/source/ui/envelp | |
parent | 4f26b7a6d1524e2feccd6d5fe8f70ea8c1bed80e (diff) |
fdo#46808, cleanup some usage of comphelper::getProcessServiceFactory()
Change-Id: Id343405c323a9efe86f7d9f41c3c866d817a0ccd
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r-- | sw/source/ui/envelp/labelexp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx index a90eaef95e70..f3ae13ffa629 100644 --- a/sw/source/ui/envelp/labelexp.cxx +++ b/sw/source/ui/envelp/labelexp.cxx @@ -49,11 +49,11 @@ void SwVisitingCardPage::InitFrameControl() pExampleFrame = new SwOneExampleFrame( aExampleWIN, EX_SHOW_BUSINESS_CARDS, &aLink ); - uno::Reference< lang::XMultiServiceFactory > xMgr = - getProcessServiceFactory(); + Reference< XComponentContext > xContext = comphelper::getProcessComponentContext(); + //now the AutoText ListBoxes have to be filled - m_xAutoText = text::AutoTextContainer::create( comphelper::getComponentContext(xMgr) ); + m_xAutoText = text::AutoTextContainer::create( xContext ); uno::Sequence<OUString> aNames = m_xAutoText->getElementNames(); const OUString* pGroups = aNames.getConstArray(); |