diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-11-14 11:49:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-11-14 11:50:26 +0100 |
commit | b11bd0323ee3dc44c6f343d1eed00151e02e9851 (patch) | |
tree | 3bf904470b651ef0a647fab125d896a6b55fcbb0 /lingucomponent | |
parent | e3712f9d350a4dbef0951e72f0de9a31eabba065 (diff) |
Removed comphelper -> unotools processfactory.hxx duplication.
Diffstat (limited to 'lingucomponent')
6 files changed, 4 insertions, 7 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx index 615c4885cfe6..62b192ffc732 100644 --- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx @@ -37,7 +37,6 @@ #include <com/sun/star/registry/XRegistryKey.hpp> #include <i18npool/mslangid.hxx> #include <tools/debug.hxx> -#include <unotools/processfactory.hxx> #include <osl/mutex.hxx> #include <hyphen.h> diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx index e7bf20ff0e40..336b37363514 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx @@ -35,7 +35,6 @@ #include <cppuhelper/factory.hxx> // helper for factories #include <com/sun/star/registry/XRegistryKey.hpp> #include <tools/debug.hxx> -#include <unotools/processfactory.hxx> #include <osl/mutex.hxx> #include <dictmgr.hxx> diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 2d7aa3d2c8e9..4426a88ac553 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -36,7 +36,6 @@ #include <cppuhelper/factory.hxx> // helper for factories #include <com/sun/star/registry/XRegistryKey.hpp> #include <tools/debug.hxx> -#include <unotools/processfactory.hxx> #include <osl/mutex.hxx> #include <lingutil.hxx> diff --git a/lingucomponent/source/thesaurus/libnth/makefile.mk b/lingucomponent/source/thesaurus/libnth/makefile.mk index 1cbecd32dd83..068e71a50deb 100644 --- a/lingucomponent/source/thesaurus/libnth/makefile.mk +++ b/lingucomponent/source/thesaurus/libnth/makefile.mk @@ -74,6 +74,7 @@ SLOFILES= \ SHL1TARGET= $(TARGET)$(DLLPOSTFIX) SHL1STDLIBS= \ + $(COMPHELPERLIB) \ $(CPPULIB) \ $(CPPUHELPERLIB) \ $(TOOLSLIB) \ diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx index 1566b099ff33..6bb696e9fca7 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx @@ -30,7 +30,6 @@ #include "precompiled_lingucomponent.hxx" #include <com/sun/star/uno/Reference.h> #include <tools/debug.hxx> -#include <unotools/processfactory.hxx> #include <osl/mutex.hxx> #include "nthesdta.hxx" diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 161da6afef04..ab9e5431abfb 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -35,7 +35,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <i18npool/mslangid.hxx> #include <tools/debug.hxx> -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <osl/mutex.hxx> #include <unotools/pathoptions.hxx> #include <unotools/lingucfg.hxx> @@ -64,7 +64,6 @@ // XML-header to query SPELLML support #define SPELLML_SUPPORT "<?xml?>" -using namespace utl; using namespace osl; using namespace com::sun::star; using namespace com::sun::star::beans; @@ -82,7 +81,8 @@ using ::rtl::OUStringToOString; static uno::Reference< XLinguServiceManager > GetLngSvcMgr_Impl() { uno::Reference< XLinguServiceManager > xRes; - uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory(); + uno::Reference< XMultiServiceFactory > xMgr( + comphelper::getProcessServiceFactory() ); if (xMgr.is()) { xRes = uno::Reference< XLinguServiceManager > ( xMgr->createInstance( |