sc/source/ui/docshell/docsh4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2bafeb5835d1c11b3e217c0de3f9f430824079de Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jan 7 21:01:19 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jan 9 20:24:30 2024 +0100 fix swapped CJK/CTL SvxLanguageItem types Change-Id: I213d6bac9d08734a7bd771f72540d1783a3a0115 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161776 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 3e316ce9420f..bfe14b6aa138 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1309,10 +1309,10 @@ void ScDocShell::Execute( SfxRequest& rReq ) rOldSet.GetPool()->GetWhich(SID_ATTR_CHAR_LANGUAGE))); if (nScriptType == SvtScriptType::COMPLEX) pNewSet->Put(SvxLanguageItem(nLangType, - rOldSet.GetPool()->GetWhich(SID_ATTR_CHAR_CJK_LANGUAGE))); + rOldSet.GetPool()->GetWhich(SID_ATTR_CHAR_CTL_LANGUAGE))); if (nScriptType == SvtScriptType::ASIAN) pNewSet->Put(SvxLanguageItem(nLangType, - rOldSet.GetPool()->GetWhich(SID_ATTR_CHAR_CTL_LANGUAGE))); + rOldSet.GetPool()->GetWhich(SID_ATTR_CHAR_CJK_LANGUAGE))); pViewShell->ApplyAttributes(*pNewSet, rOldSet); }