[Libreoffice-commits] core.git: svl/source
Eike Rathke
erack at redhat.com
Mon Mar 31 15:10:39 PDT 2014
svl/source/numbers/zformat.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0416742a914a92228704f899c6bbc1c2851620c4
Author: Eike Rathke <erack at redhat.com>
Date: Tue Apr 1 00:08:35 2014 +0200
adapted the ifdef'ed portion as well
Change-Id: I95ef44f12ad478677e761edb19528829d33363c9
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 6fac57a..cb5e494 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -283,7 +283,7 @@ sal_uInt8 SvNumberNatNum::MapNatNumToDBNum( sal_uInt8 nNatNum, LanguageType eLan
eLang &= 0x03FF; // 10 bit primary language
if ( bDate )
{
- if ( nNatNum == 9 && eLang == LANGUAGE_KOREAN )
+ if ( nNatNum == 9 && eLang == (LANGUAGE_KOREAN & 0x03FF) )
{
nDBNum = 4;
}
More information about the Libreoffice-commits
mailing list