svl/source/numbers/zformat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0a2cd63a2675496ef2ba19a9144246ff4c20955a Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 29 21:16:41 2014 +0000 coverity#735502 Logically dead code Change-Id: I386944df28c7e7464e596144a5612a205f5cb967 Reviewed-on: https://gerrit.libreoffice.org/8789 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 893ff54..6fac57a 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -199,7 +199,7 @@ sal_uInt8 SvNumberNatNum::MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang eLang &= 0x03FF; // 10 bit primary language if ( bDate ) { - if ( nDBNum == 4 && eLang == LANGUAGE_KOREAN ) + if ( nDBNum == 4 && eLang == (LANGUAGE_KOREAN & 0x03FF) ) { nNatNum = 9; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits