diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-02 09:46:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 16:43:15 +0100 |
commit | d2c45d0460cf99aadde1aaec11e032f488fa277b (patch) | |
tree | c04080649e3d5393d9d73e2ab9326b56ee3cc6cb /editeng | |
parent | ec1c96a9b69a5a2546fe2564cd92fe9e33471fbc (diff) |
fdo#46808, Adapt i18n::Transliteration UNO service to new style
Simply make the service implement XExtendedTransliteration, since all
of the implementatins already do that.
Change-Id: If03bf56a8d33931ad0230743a4603e2ae9b104ac
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index d6ff77ff698c..27a40293ddf1 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2704,7 +2704,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection, sal_Bool bLenChanged = sal_False; EditUndoTransliteration* pUndo = NULL; - utl::TransliterationWrapper aTranslitarationWrapper( ::comphelper::getProcessServiceFactory(), nTransliterationMode ); + utl::TransliterationWrapper aTranslitarationWrapper( ::comphelper::getProcessComponentContext(), nTransliterationMode ); sal_Bool bConsiderLanguage = aTranslitarationWrapper.needLanguageForTheMode(); for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index d6995f64d0de..abfbfd7266f1 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -196,7 +196,7 @@ static LocaleDataWrapper& GetLocaleDataWrapper( sal_uInt16 nLang ) static TransliterationWrapper& GetIgnoreTranslWrapper() { static int bIsInit = 0; - static TransliterationWrapper aWrp( GetProcessFact(), + static TransliterationWrapper aWrp( ::comphelper::getProcessComponentContext(), ::com::sun::star::i18n::TransliterationModules_IGNORE_KANA | ::com::sun::star::i18n::TransliterationModules_IGNORE_WIDTH ); if( !bIsInit ) |