diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-06 09:31:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-06 11:58:09 +0200 |
commit | 0d56337387dd08315410d62efd525c552569d60a (patch) | |
tree | 0972f18546eb6d41f14304bb6063cf09add019df /i18npool | |
parent | 0219788cb57e51820d0c5ea99d570efd735cfb72 (diff) |
clang-tidy:clang-analyzer-optin.performance.Padding
noting that XMLTokenEnum was already being treated as being limited to
32-bits, we bitmask it together with namespaces
Change-Id: Ic48f2a662452d1b8e022078d31a723d2ac65aef0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121707
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index a5a604903ad6..e5d631e3e1e5 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -1028,9 +1028,11 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal struct Supported_NumberingType { - sal_Int16 nType; - const char* cSymbol; - sal_Int16 langOption; + const char* cSymbol; + sal_Int16 nType; + sal_Int16 langOption; + Supported_NumberingType(sal_Int16 nType_, const char* pSymbol, sal_Int16 opt) + : cSymbol(pSymbol), nType(nType_), langOption(opt) {} }; const Supported_NumberingType aSupportedTypes[] = { |