summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-09-17 21:33:21 +0200
committerEike Rathke <erack@redhat.com>2018-09-18 17:23:43 +0200
commitf827b5fd7f5add45868b2527006856d902a4e550 (patch)
tree37a34efbf33b3eeb730450b8e981dbeb67c6b489
parent67b153e0defb2f3e098a47bfcb2e8432b887a248 (diff)
Bin binfilter cruft
The requirement for persistent keyword index values is gone since long. Remove the NF_KEY_UNUSEDn place holders. Change-Id: Idcc1b621d88884ebcefb3ba4e7865d4f2db4ce51 Reviewed-on: https://gerrit.libreoffice.org/60643 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--include/svl/nfkeytab.hxx13
-rw-r--r--svl/source/numbers/zforscan.cxx2
2 files changed, 3 insertions, 12 deletions
diff --git a/include/svl/nfkeytab.hxx b/include/svl/nfkeytab.hxx
index ddffc030d482..16dea80e99e2 100644
--- a/include/svl/nfkeytab.hxx
+++ b/include/svl/nfkeytab.hxx
@@ -25,15 +25,10 @@
//! For ImpSvNumberformatScan: first the short symbols, then the long symbols!
//! e.g. first TT then TTTT
-//! The internal order is essentially for the format code string scanner!
-//! New keywords MUST NOT be inserted, only the NF_KEY_UNUSEDn may be used,
-//! NF_KEY_LASTKEYWORD must be adjusted accordingly. Otherwise old versions
-//! will fail upon reading these entries. Nevertheless, old versions are NOT
-//! able to display those new keywords => blank display.
+//! The internal order is essential for the format code string scanner.
+//! New keywords MUST NOT be inserted.
//
-// Note: 2005-09-02: the above applies to the binary file format.
-//
-// ER 15.12.99: This table is externally only to be used with method
+// This table is externally only to be used with method
// OUString SvNumberformat::GetMappedFormatstring( const NfKeywordTable&, const LocaleDataWrapper& );
// and method
// void SvNumberFormatter::FillKeywordTable( NfKeywordTable&, LanguageType );
@@ -70,8 +65,6 @@ enum NfKeywordIndex
NF_KEY_WW, // week of year, as of version 8, 19.06.98
NF_KEY_MMMMM, // first letter of month name
NF_KEY_LASTKEYWORD = NF_KEY_MMMMM,
- NF_KEY_UNUSED4,
- NF_KEY_UNUSED5, // was quarter word, not used anymore from SRC631 on (26.04.01)
NF_KEY_TRUE, // boolean true
NF_KEY_FALSE, // boolean false
NF_KEY_BOOLEAN, // boolean
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index bb54df73ef02..266937f8ec4c 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -73,8 +73,6 @@ const NfKeywordTable ImpSvNumberformatScan::sEnglishKeyword =
"NNN", // NF_KEY_NNN Day of week long
"WW", // NF_KEY_WW Week of year
"MMMMM", // NF_KEY_MMMMM first letter of month name
- "", // NF_KEY_UNUSED4,
- "", // NF_KEY_UNUSED5, // was quarter word, not used anymore from SRC631 on (26.04.01)
"TRUE", // NF_KEY_TRUE boolean true
"FALSE", // NF_KEY_FALSE boolean false
"BOOLEAN", // NF_KEY_BOOLEAN boolean