diff options
Diffstat (limited to 'sc/source/ui/unoobj/forbiuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/forbiuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/forbiuno.cxx b/sc/source/ui/unoobj/forbiuno.cxx index e26190642b09..242816de80fc 100644 --- a/sc/source/ui/unoobj/forbiuno.cxx +++ b/sc/source/ui/unoobj/forbiuno.cxx @@ -38,7 +38,7 @@ static rtl::Reference<SvxForbiddenCharactersTable> lcl_GetForbidden( ScDocShell* // create an empty SvxForbiddenCharactersTable for SvxUnoForbiddenCharsTable, // so changes can be stored. - xRet = new SvxForbiddenCharactersTable( comphelper::getComponentContext(pDoc->GetServiceManager()) ); + xRet = new SvxForbiddenCharactersTable( comphelper::getProcessComponentContext() ); pDoc->SetForbiddenCharacters( xRet ); } } |