summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-01 00:08:35 +0200
committerEike Rathke <erack@redhat.com>2014-04-01 00:10:06 +0200
commit0416742a914a92228704f899c6bbc1c2851620c4 (patch)
tree5c4dc0ef453fd04b44667e49cd522235644e4558 /svl
parent0a2cd63a2675496ef2ba19a9144246ff4c20955a (diff)
adapted the ifdef'ed portion as well
Change-Id: I95ef44f12ad478677e761edb19528829d33363c9
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 6fac57aad241..cb5e494c919b 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;
}