[Libreoffice-commits] core.git: include/i18nlangtag

Eike Rathke erack at redhat.com
Wed Oct 4 20:50:59 UTC 2017


 include/i18nlangtag/lang.h |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 7901ede8a63f41aea707bd19c22f834253161378
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Oct 4 14:33:29 2017 +0200

    Add 0xF400 and 0xF800 constants for number format code modifiers, tdf#102075
    
    Change-Id: Ic379135f2d12023b1d50d70e72b640e2380483b7

diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index b2c313094adb..c83bd82e041e 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -478,6 +478,14 @@ namespace o3tl
  *! LANGUAGE_SYSTEM and then to effective system language */
 #define LANGUAGE_PROCESS_OR_USER_DEFAULT    LanguageType(0x0400)
 
+/* Number format code modifier attribute for system time.
+ * Primary language 0x000, sublanguage 0x3D. */
+#define LANGUAGE_NF_SYSTEM_TIME             LanguageType(0xF400)
+
+/* Number format code modifier attribute for system date.
+ * Primary language 0x000, sublanguage 0x3E. */
+#define LANGUAGE_NF_SYSTEM_DATE             LanguageType(0xF800)
+
 
 /* And now the extensions we define,
  * with primary language IDs from 0x200 to 0x3FF valid in blocks from


More information about the Libreoffice-commits mailing list