summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen8.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-21 11:05:42 +0200
committerNoel Grandin <noel@peralex.com>2013-05-21 13:53:19 +0200
commit2750fe97c5a2c5b374542e3383dfc75ec099c7af (patch)
treeb06b1ff1f4fc20462a04f20b77aa79e47e5d4613 /sc/source/core/data/documen8.cxx
parent13c73a1b358934d7ffac6a6275c4e9d399b7d4eb (diff)
fdo#46808, Convert some XMultiServiceFactory to XComponentContext
and remove unnecessarily storing the global XComponentContext Change-Id: Ifb230b88661fea38d96a9d7f0994f92b9632ef79
Diffstat (limited to 'sc/source/core/data/documen8.cxx')
-rw-r--r--sc/source/core/data/documen8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index 9eefd8f00565..5c1949987c50 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -1593,7 +1593,7 @@ void ScDocument::TransliterateText( const ScMarkData& rMultiMark, sal_Int32 nTyp
{
OSL_ENSURE( rMultiMark.IsMultiMarked(), "TransliterateText: no selection" );
- utl::TransliterationWrapper aTranslitarationWrapper( comphelper::getComponentContext(xServiceManager), nType );
+ utl::TransliterationWrapper aTranslitarationWrapper( comphelper::getProcessComponentContext(), nType );
bool bConsiderLanguage = aTranslitarationWrapper.needLanguageForTheMode();
sal_uInt16 nLanguage = LANGUAGE_SYSTEM;