summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-08 17:08:37 +0200
committerNoel Grandin <noel@peralex.com>2013-03-20 07:32:53 +0200
commit6999a50efaaf802ccd4c7eb7957af17cc32602be (patch)
tree54bb8eb3649c4afdce59ee844ffeb8b1edeb73d1
parentc09c64ede6a395ad4cc5a263e88d5e180b890127 (diff)
fdo#46808, convert some getProcessServiceFactory()
Change-Id: I3722a54ea173f54f8d8f1e0e654137c6f76d8613
-rw-r--r--svx/source/form/fmundo.cxx2
-rw-r--r--svx/source/form/fmview.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index e24623d04e8e..1203c9c93d57 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -115,7 +115,7 @@ private:
try
{
- ::comphelper::ComponentContext const aContext( ::comphelper::getProcessServiceFactory() );
+ ::comphelper::ComponentContext const aContext( ::comphelper::getProcessComponentContext() );
Reference< XScriptListener > const xScriptListener( aContext.createComponent( "ooo.vba.EventListener" ), UNO_QUERY_THROW );
Reference< XPropertySet > const xListenerProps( xScriptListener, UNO_QUERY_THROW );
// SfxObjectShellRef is good here since the model controls the lifetime of the shell
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index abd632ba6838..24bb95852a42 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -93,7 +93,7 @@ FmFormView::FmFormView( FmFormModel* pModel, OutputDevice* pOut )
void FmFormView::Init()
{
pFormShell = NULL;
- pImpl = new FmXFormView(::comphelper::getProcessServiceFactory(),this);
+ pImpl = new FmXFormView(::comphelper::getProcessComponentContext(),this);
pImpl->acquire();
//////////////////////////////////////////////////////////////////////
@@ -594,7 +594,7 @@ void FmFormView::createControlLabelPair( OutputDevice* _pOutDev, sal_Int32 _nXOf
SdrPage* _pLabelPage, SdrPage* _pControlPage, SdrModel* _pModel, SdrUnoObj*& _rpLabel, SdrUnoObj*& _rpControl )
{
FmXFormView::createControlLabelPair(
- ::comphelper::getProcessServiceFactory(),
+ ::comphelper::getProcessComponentContext(),
*_pOutDev, _nXOffsetMM, _nYOffsetMM,
_rxField, _rxNumberFormats,
_nControlObjectID, _rFieldPostfix, _nInventor, _nLabelObjectID,