summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldtdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-04 11:20:21 +0200
committerNoel Grandin <noel@peralex.com>2013-01-09 08:08:15 +0200
commit77d215ae2ed9bd08444a5128729066b6025bef27 (patch)
tree581ee6dc7eaaedd2cea591f64cbed17e3da507ac /sw/source/ui/fldui/fldtdlg.cxx
parentfd5a2eb07011e8aedfd5ef0a82edaf07221554ba (diff)
fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContext
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
Diffstat (limited to 'sw/source/ui/fldui/fldtdlg.cxx')
-rw-r--r--sw/source/ui/fldui/fldtdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx
index 521ecf153caf..684a5662a524 100644
--- a/sw/source/ui/fldui/fldtdlg.cxx
+++ b/sw/source/ui/fldui/fldtdlg.cxx
@@ -87,8 +87,8 @@ SwFldDlg::SwFldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent)
AddTabPage(TP_FLD_FUNC, SwFldFuncPage::Create, 0);
utl::OConfigurationTreeRoot aCfgRoot
- = utl::OConfigurationTreeRoot::createWithServiceFactory(
- ::comphelper::getProcessServiceFactory(),
+ = utl::OConfigurationTreeRoot::createWithComponentContext(
+ ::comphelper::getProcessComponentContext(),
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
"/org.openoffice.Office.DataAccess/Policies/Features/Writer" ) ),