summaryrefslogtreecommitdiff
path: root/xmloff/source
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 /xmloff/source
parent0219788cb57e51820d0c5ea99d570efd735cfb72 (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 'xmloff/source')
-rw-r--r--xmloff/source/forms/property_description.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/forms/property_description.hxx b/xmloff/source/forms/property_description.hxx
index 53adb3bf93b2..d30afcd299d2 100644
--- a/xmloff/source/forms/property_description.hxx
+++ b/xmloff/source/forms/property_description.hxx
@@ -63,17 +63,17 @@ namespace xmloff
/** denotes the attribute which represents the property. Note that multiple properties might comprise a single
attribute value.
*/
- const AttributeDescription attribute;
/// is the factory for creating a handler for reading and writing the property
const PropertyHandlerFactory factory;
/// the unique ID of the property. The property meta data table must not contain two entries with the same property ID
const PropertyId propertyId;
+ const AttributeDescription attribute;
PropertyDescription()
:propertyName()
- ,attribute()
,factory( nullptr )
,propertyId( PID_INVALID )
+ ,attribute()
{
}
@@ -85,9 +85,9 @@ namespace xmloff
const PropertyId i_propertyId
)
:propertyName( i_propertyName )
- ,attribute( i_namespacePrefix, i_attributeToken )
,factory( i_factory )
,propertyId( i_propertyId )
+ ,attribute( i_namespacePrefix, i_attributeToken )
{
}
};