diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-02 15:13:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 18:05:00 +0100 |
commit | 0666e43c45876199ddc71e378554878cca6f0539 (patch) | |
tree | 39fd44bd26cceaa71a86a06c480d80c8351b5e0f /unotools/inc | |
parent | ebc61e11cdb02f5cc33aeabead3d191eaf0d23d3 (diff) |
fdo#46808, use service constructor for i18n::CharacterClassification
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/charclass.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/unotools/inc/unotools/charclass.hxx b/unotools/inc/unotools/charclass.hxx index 5538e68f6351..744321091230 100644 --- a/unotools/inc/unotools/charclass.hxx +++ b/unotools/inc/unotools/charclass.hxx @@ -34,8 +34,8 @@ class String; namespace com { namespace sun { namespace star { - namespace lang { - class XMultiServiceFactory; + namespace uno { + class XComponentContext; } }}} @@ -70,13 +70,12 @@ class UNOTOOLS_DLLPUBLIC CharClass : private boost::noncopyable { ::com::sun::star::lang::Locale aLocale; ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XCharacterClassification > xCC; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; mutable ::osl::Mutex aMutex; public: /// Preferred ctor with service manager specified CharClass( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & xSF, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rxContext, const ::com::sun::star::lang::Locale& rLocale); /// Depricated ctor, tries to get a process service manager or to load the |