summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-06 09:31:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-06 11:58:09 +0200
commit0d56337387dd08315410d62efd525c552569d60a (patch)
tree0972f18546eb6d41f14304bb6063cf09add019df /include/xmloff
parentUpdate git submodules (diff)
downloadcore-0d56337387dd08315410d62efd525c552569d60a.tar.gz
core-0d56337387dd08315410d62efd525c552569d60a.zip
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 'include/xmloff')
-rw-r--r--include/xmloff/xmltoken.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index d30f0781b950..e4b2314527f0 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -46,7 +46,7 @@ namespace xmloff::token {
/**
* The enumeration of all XML tokens.
*/
- enum XMLTokenEnum
+ enum XMLTokenEnum : sal_Int16
{
XML_TOKEN_START = 0,
XML_TOKEN_INVALID = XML_TOKEN_START,