Unnecessary to convert to locale, tdf#67866 follow-up

ScGlobal::GetEditDefaultLanguage() obtains the application
language tag to return the LanguageType, that was converted
back to obtain the locale.. just obtain the locale from the
application language tag.

Change-Id: I0c2028ad6162780b657db39b78f6e9006aaa2660
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143469
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index cf3ad3e3..d3cbd98 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2227,7 +2227,7 @@ void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelec
    {
        if (pPDFData)
        {
            css::lang::Locale const docLocale(LanguageTag(ScGlobal::GetEditDefaultLanguage()).getLocale());
            css::lang::Locale const docLocale(Application::GetSettings().GetLanguageTag().getLocale());
            pPDFData->SetDocumentLocale(docLocale);
        }