From 4f9d4b9b524ed3afd26d2cd67d3559e6a4e6fdfe Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 24 Jan 2018 12:43:39 +0000 Subject: ofz: out-of-memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If1c9ade3268f4ebadfdad771fe3b35641dca210d Reviewed-on: https://gerrit.libreoffice.org/48506 Reviewed-by: Eike Rathke Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/svl/zforlist.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/svl') diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 838f69508338..e0c2b95d61c9 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -56,6 +56,8 @@ namespace com { namespace sun { namespace star { #define SV_COUNTRY_LANGUAGE_OFFSET 10000 // Max count of formats per country/language #define SV_MAX_COUNT_STANDARD_FORMATS 100 // Max count of builtin default formats per CL +constexpr size_t NF_MAX_FORMAT_SYMBOLS = 100; + /// The built-in @ Text format, offset within a locale, key in the locale the /// number formatter was constructed with. constexpr sal_uInt32 NF_STANDARD_FORMAT_TEXT = SV_MAX_COUNT_STANDARD_FORMATS; -- cgit