summaryrefslogtreecommitdiff
path: root/linguistic/source/misc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-14 11:49:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-14 11:50:26 +0100
commitb11bd0323ee3dc44c6f343d1eed00151e02e9851 (patch)
tree3bf904470b651ef0a647fab125d896a6b55fcbb0 /linguistic/source/misc.cxx
parente3712f9d350a4dbef0951e72f0de9a31eabba065 (diff)
Removed comphelper -> unotools processfactory.hxx duplication.
Diffstat (limited to 'linguistic/source/misc.cxx')
-rw-r--r--linguistic/source/misc.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index 0bc393605752..d32517a13a25 100644
--- a/linguistic/source/misc.cxx
+++ b/linguistic/source/misc.cxx
@@ -49,7 +49,7 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/linguistic2/DictionaryType.hpp>
#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>
-#include <unotools/processfactory.hxx>
+#include <comphelper/processfactory.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/syslocale.hxx>
@@ -61,7 +61,6 @@
#include "linguistic/hyphdta.hxx"
#include <i18npool/mslangid.hxx>
-using namespace utl;
using namespace osl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
@@ -90,7 +89,7 @@ osl::Mutex & GetLinguMutex()
LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang )
{
static LocaleDataWrapper aLclDtaWrp(
- getProcessServiceFactory(),
+ comphelper::getProcessServiceFactory(),
CreateLocale( SvtSysLocale().GetUILanguage() ) );
const Locale &rLcl = aLclDtaWrp.getLoadedLocale();
@@ -789,7 +788,8 @@ uno::Reference< XInterface > GetOneInstanceService( const char *pServiceName )
if (pServiceName)
{
- uno::Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() );
+ uno::Reference< XMultiServiceFactory > xMgr(
+ comphelper::getProcessServiceFactory() );
if (xMgr.is())
{
try
@@ -838,7 +838,8 @@ AppExitListener::AppExitListener()
{
// add object to Desktop EventListeners in order to properly call
// the AtExit function at appliction exit.
- uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory();
+ uno::Reference< XMultiServiceFactory > xMgr(
+ comphelper::getProcessServiceFactory() );
if (xMgr.is())
{