sw/source/filter/html/wrthtml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f85366c407e71fc4e382c449504940aaedab354f
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 18:06:31 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Oct 22 14:30:26 2024 +0200

    tdf#163486: PVS: Identical branches
    
    Since
    commit 97075a384aed0b4853b78bd5ffc681cdf9003f11
    Author: Michael Brauer <m...@openoffice.org>
    Date:   Wed Oct 24 13:16:17 2001 +0000
    
        #91961#: Support of language
    
    V1037 Two or more case-branches perform the same actions. Check lines: 
1462, 1465
    
    Change-Id: Ie27fb47ec7e22b9dbe9a2338c661c261bea8926b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175383
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/source/filter/html/wrthtml.cxx 
b/sw/source/filter/html/wrthtml.cxx
index 3b7e2f887886..b4a277ec5df4 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -1462,7 +1462,7 @@ TypedWhichId<SvxLanguageItem> 
SwHTMLWriter::GetLangWhichIdFromScript( sal_uInt16
         nWhichId = RES_CHRATR_CJK_LANGUAGE;
         break;
     case CSS1_OUTMODE_CTL:
-        nWhichId = RES_CHRATR_CJK_LANGUAGE;
+        nWhichId = RES_CHRATR_CTL_LANGUAGE;
         break;
     default:
         nWhichId = RES_CHRATR_LANGUAGE;

Reply via email to