diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-21 11:05:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-21 13:53:19 +0200 |
commit | 2750fe97c5a2c5b374542e3383dfc75ec099c7af (patch) | |
tree | b06b1ff1f4fc20462a04f20b77aa79e47e5d4613 /sc/source/ui/docshell/docsh2.cxx | |
parent | 13c73a1b358934d7ffac6a6275c4e9d399b7d4eb (diff) |
fdo#46808, Convert some XMultiServiceFactory to XComponentContext
and remove unnecessarily storing the global XComponentContext
Change-Id: Ifb230b88661fea38d96a9d7f0994f92b9632ef79
Diffstat (limited to 'sc/source/ui/docshell/docsh2.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 1039219706ca..7f5ea07aa1e0 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -125,7 +125,7 @@ void ScDocShell::InitItems() if (aLocales.getLength()) { rtl::Reference<SvxForbiddenCharactersTable> xForbiddenTable = - new SvxForbiddenCharactersTable( comphelper::getComponentContext(aDocument.GetServiceManager()) ); + new SvxForbiddenCharactersTable( comphelper::getProcessComponentContext() ); const lang::Locale* pLocales = aLocales.getConstArray(); for (sal_Int32 i = 0; i < aLocales.getLength(); i++) |