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 /sw | |
parent | e3712f9d350a4dbef0951e72f0de9a31eabba065 (diff) |
Removed comphelper -> unotools processfactory.hxx duplication.
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/pch/precompiled_sw.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/doc/docxforms.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/uiview/viewling.cxx | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index b154f630f1b4..3f25d7229edb 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -888,7 +888,6 @@ #include "unotools/intlwrapper.hxx" #include "unotools/localedatawrapper.hxx" #include "unotools/localfilehelper.hxx" -#include "unotools/processfactory.hxx" #include "unotools/streamwrap.hxx" #include "unotools/tempfile.hxx" #include "unotools/transliterationwrapper.hxx" diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 656fb20061ae..d44172314d42 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -37,7 +37,7 @@ #include <com/sun/star/linguistic2/XProofreadingIterator.hpp> #include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp> -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> #include <rtl/logfile.hxx> @@ -138,7 +138,7 @@ SV_IMPL_PTRARR( SwGrfFmtColls, SwGrfFmtCollPtr) { if (!m_xGCIterator.is() && SvtLinguConfig().HasGrammarChecker()) { - uno::Reference< lang::XMultiServiceFactory > xMgr( utl::getProcessServiceFactory() ); + uno::Reference< lang::XMultiServiceFactory > xMgr( comphelper::getProcessServiceFactory() ); if (xMgr.is()) { try diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx index 2fe58eb1946f..46ad840409a5 100644 --- a/sw/source/core/doc/docxforms.cxx +++ b/sw/source/core/doc/docxforms.cxx @@ -40,7 +40,7 @@ #include <com/sun/star/frame/XModule.hpp> #include <com/sun/star/xforms/XModel.hpp> #include <com/sun/star/xforms/XFormsUIHelper1.hpp> -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <tools/diagnose_ex.h> @@ -71,7 +71,7 @@ bool SwDoc::isXForms() const Reference<XInterface> lcl_createInstance( const sal_Char* pServiceName ) { OSL_ENSURE( pServiceName != NULL, "no service name" ); - return utl::getProcessServiceFactory()->createInstance( + return comphelper::getProcessServiceFactory()->createInstance( OUString::createFromAscii( pServiceName ) ); } diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index ae86b4de27e1..c537a3ae43fb 100644 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -88,7 +88,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/util/XURLTransformer.hpp> -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> #include <rtl/ustring.hxx> @@ -762,7 +762,7 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt) xFrame = pSfxViewFrame->GetFrame().GetFrameInterface(); com::sun::star::util::URL aURL; uno::Reference< frame::XDispatchProvider > xDispatchProvider( xFrame, UNO_QUERY ); - uno::Reference< lang::XMultiServiceFactory > xMgr( utl::getProcessServiceFactory(), uno::UNO_QUERY ); + uno::Reference< lang::XMultiServiceFactory > xMgr( comphelper::getProcessServiceFactory(), uno::UNO_QUERY ); try { |