summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-24 12:43:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-25 09:53:47 +0100
commit4f9d4b9b524ed3afd26d2cd67d3559e6a4e6fdfe (patch)
tree58f66b7be59289f241bf627782cf3165fbc22bf0 /include/svl
parent6a042742d34ce6503cbebae0268845d7f71a95d6 (diff)
ofz: out-of-memory
Change-Id: If1c9ade3268f4ebadfdad771fe3b35641dca210d Reviewed-on: https://gerrit.libreoffice.org/48506 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zforlist.hxx2
1 files changed, 2 insertions, 0 deletions
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;