diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-02 16:07:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-15 08:28:43 +0100 |
commit | 3f15a663b273e4a437fd68335d6eab2b11fc80c9 (patch) | |
tree | 5651b63a998b26f12c5626f4a3fc8490bceed35b /sw/source/ui/uiview | |
parent | ed80674ec793f640916ad4162ee4121aeceac7f6 (diff) |
fdo#46808, use service constructor for i18n::TextConversion
Modify the service to return XExtendedTextConversion,
since that is backwards compatible and the service
implements it.
Change-Id: I2923969135c396d643c501ed56e0528c0bd7c14a
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/viewling.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index 1c8fd6eb4eec..466fe5da8c4f 100644 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -260,9 +260,9 @@ void SwView::StartTextConversion( sal_Bool bOther = !bSelection && !(pWrtShell->GetFrmType(0,sal_True) & FRMTYPE_BODY); { - const uno::Reference< lang::XMultiServiceFactory > xMgr( - comphelper::getProcessServiceFactory() ); - SwHHCWrapper aWrap( this, xMgr, nSourceLang, nTargetLang, pTargetFont, + const uno::Reference< uno::XComponentContext > xContext( + comphelper::getProcessComponentContext() ); + SwHHCWrapper aWrap( this, xContext, nSourceLang, nTargetLang, pTargetFont, nOptions, bIsInteractive, bStart, bOther, bSelection ); aWrap.Convert(); |