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 /unotools/inc | |
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 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/transliterationwrapper.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/unotools/inc/unotools/transliterationwrapper.hxx b/unotools/inc/unotools/transliterationwrapper.hxx index 46f0a3917e9a..3a0a8de05042 100644 --- a/unotools/inc/unotools/transliterationwrapper.hxx +++ b/unotools/inc/unotools/transliterationwrapper.hxx @@ -25,8 +25,8 @@ #include <com/sun/star/i18n/XExtendedTransliteration.hpp> namespace com { namespace sun { namespace star { - namespace lang { - class XMultiServiceFactory; + namespace uno { + class XComponentContext; } }}} @@ -36,8 +36,6 @@ namespace utl class UNOTOOLS_DLLPUBLIC TransliterationWrapper { ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XMultiServiceFactory > xSMgr; - ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XExtendedTransliteration > xTrans; ::com::sun::star::lang::Locale aLocale; sal_uInt32 nType; @@ -53,7 +51,7 @@ class UNOTOOLS_DLLPUBLIC TransliterationWrapper public: TransliterationWrapper( const ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XMultiServiceFactory > & xSF, + ::com::sun::star::uno::XComponentContext > & rxContext, sal_uInt32 nType ); ~TransliterationWrapper(); |