diff options
Diffstat (limited to 'sw/inc/breakit.hxx')
-rw-r--r-- | sw/inc/breakit.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx index 4ed10f99b0f8..1ce59f76b4b8 100644 --- a/sw/inc/breakit.hxx +++ b/sw/inc/breakit.hxx @@ -31,7 +31,7 @@ #include <boost/noncopyable.hpp> #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> #include <com/sun/star/i18n/XScriptTypeDetector.hpp> #include <com/sun/star/i18n/ForbiddenCharacters.hpp> @@ -45,7 +45,7 @@ class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable { - com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xMSF; + com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext; mutable com::sun::star::uno::Reference< com::sun::star::i18n::XBreakIterator > xBreak; com::sun::star::lang::Locale * m_pLocale; @@ -61,13 +61,13 @@ class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable // private (see @ _Create, _Delete). explicit SwBreakIt( - const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > & rxMSF); + const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxContext); ~SwBreakIt(); public: // private (see @ source/core/bastyp/init.cxx). static void _Create( - const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > & rxMSF); + const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxContext); static void _Delete(); public: |