summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-11-27 15:14:38 +0100
committerEike Rathke <erack@redhat.com>2015-11-27 23:21:35 +0100
commitea1db935b085507f11d05f8606a680d521db4838 (patch)
tree968b9270e6c7c6d2f580e9fc57c9adf770f2a951
parent2246f478e2505388ab253d08a1d86b897251223b (diff)
use proper case "General" keyword
... Excel doesn't seem to care though. Change-Id: I3697a808d8fee2417f0b0e03dba2b94ceea133dd
-rw-r--r--svl/source/numbers/zforlist.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index f12ee01405ba..81502d5b9a10 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -779,6 +779,8 @@ void SvNumberFormatter::FillKeywordTableForExcel( NfKeywordTable& rKeywords )
{
FillKeywordTable( rKeywords, LANGUAGE_ENGLISH_US );
+ // Replace upper case "GENERAL" with proper case "General".
+ rKeywords[ NF_KEY_GENERAL ] = GetStandardName( LANGUAGE_ENGLISH_US );
// Remap codes unknown to Excel.
rKeywords[ NF_KEY_NN ] = "DDD";
rKeywords[ NF_KEY_NNN ] = "DDDD";