diff options
Diffstat (limited to 'svl/source/numbers')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 31991e8c20b5..eda77fc62859 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1554,7 +1554,7 @@ OUString SvNumberformat::LocaleType::generateCode() const { aBuf.append(toUniChar(n)); } - n16 = n16 << 4; + n16 = (n16 << 4) & 0xFFFF; } return aBuf.makeStringAndClear(); |