Kaydet (Commit) 0a2cd63a authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Eike Rathke

coverity#735502 Logically dead code

Change-Id: I386944df28c7e7464e596144a5612a205f5cb967
Reviewed-on: https://gerrit.libreoffice.org/8789Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst 6d0273b7
...@@ -199,7 +199,7 @@ sal_uInt8 SvNumberNatNum::MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang ...@@ -199,7 +199,7 @@ sal_uInt8 SvNumberNatNum::MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang
eLang &= 0x03FF; // 10 bit primary language eLang &= 0x03FF; // 10 bit primary language
if ( bDate ) if ( bDate )
{ {
if ( nDBNum == 4 && eLang == LANGUAGE_KOREAN ) if ( nDBNum == 4 && eLang == (LANGUAGE_KOREAN & 0x03FF) )
{ {
nNatNum = 9; nNatNum = 9;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment