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 /framework/source | |
parent | e3712f9d350a4dbef0951e72f0de9a31eabba065 (diff) |
Removed comphelper -> unotools processfactory.hxx duplication.
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/fwe/classes/framelistanalyzer.cxx | 6 | ||||
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index 25c7f921bbd9..e0ab6cb3fef2 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -47,7 +47,7 @@ //_______________________________________________ // includes of other projects -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> //_______________________________________________ @@ -158,7 +158,7 @@ void FrameListAnalyzer::impl_analyze() { try { - css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::utl::getProcessServiceFactory(); + css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::comphelper::getProcessServiceFactory(); css::uno::Reference< css::frame::XModuleManager > xModuleMgr(xSMGR->createInstance(SERVICENAME_MODULEMANAGER), css::uno::UNO_QUERY_THROW); ::rtl::OUString sModule = xModuleMgr->identify(m_xReferenceFrame); m_bReferenceIsBacking = (sModule.equals(SERVICENAME_STARTMODULE)); @@ -229,7 +229,7 @@ void FrameListAnalyzer::impl_analyze() { try { - css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::utl::getProcessServiceFactory(); + css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::comphelper::getProcessServiceFactory(); css::uno::Reference< css::frame::XModuleManager > xModuleMgr(xSMGR->createInstance(SERVICENAME_MODULEMANAGER), css::uno::UNO_QUERY); ::rtl::OUString sModule = xModuleMgr->identify(xFrame); if (sModule.equals(SERVICENAME_STARTMODULE)) diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index f12d0561f436..61c520d4d67b 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -92,7 +92,7 @@ #include <toolkit/unohlp.hxx> #include <unotools/moduleoptions.hxx> #include <svtools/sfxecode.hxx> -#include <unotools/processfactory.hxx> +#include <comphelper/processfactory.hxx> #include <unotools/ucbhelper.hxx> #include <comphelper/configurationhelper.hxx> #include <rtl/ustrbuf.hxx> @@ -705,7 +705,7 @@ LoadEnv::EContentType LoadEnv::classifyContent(const ::rtl::OUString& } // following operatons can work on an internal type name only :-( - css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::utl::getProcessServiceFactory(); + css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::comphelper::getProcessServiceFactory(); css::uno::Reference< css::document::XTypeDetection > xDetect(xSMGR->createInstance(SERVICENAME_TYPEDETECTION), css::uno::UNO_QUERY); ::rtl::OUString sType = xDetect->queryTypeByURL(sURL); |