summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-12 10:52:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-12 12:17:24 +0200
commitf1bd6e802a1671c4b923124b33064b7803a5dbb6 (patch)
treed303a52764c7038b72f4df1d3f67040a7de1e0c9 /oox
parent0652bc404c1a8dedda085a4753b412c8c0e9ea6c (diff)
clang:optin.performance.Padding
Excessive padding in 'struct chart::TickInfo' (11 padding bytes, where 3 is optimal). Excessive padding in 'class EscherBlibEntry' (10 padding bytes, where 2 is optimal). Excessive padding in 'struct oox::drawingml::ConditionAttr' (8 padding bytes, where 0 is optimal). Excessive padding in 'struct oox::drawingml::Constraint' (12 padding bytes, where 4 is optimal). Excessive padding in 'struct (anonymous namespace)::Number' (10 padding bytes, where 2 is optimal). Change-Id: If7573afa8a794497c9a2bf1c7c15e8f11ff11407 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121993 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
index 7645c9affc99..0e7d4aec2169 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
@@ -55,26 +55,26 @@ struct ConditionAttr
// not sure this belong here, but wth
void loadFromXAttr( const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttributes );
+ OUString msVal;
sal_Int32 mnFunc;
sal_Int32 mnArg;
sal_Int32 mnOp;
- OUString msVal;
sal_Int32 mnVal;
};
/// Constraints allow you to specify an ideal (or starting point) size for each shape.
struct Constraint
{
- sal_Int32 mnFor;
OUString msForName;
+ OUString msRefForName;
+ double mfFactor;
+ double mfValue;
+ sal_Int32 mnFor;
sal_Int32 mnPointType;
sal_Int32 mnType;
sal_Int32 mnRefFor;
- OUString msRefForName;
sal_Int32 mnRefType;
sal_Int32 mnRefPointType;
- double mfFactor;
- double mfValue;
sal_Int32 mnOperator;
};