summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/mapmod.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-10 20:20:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-11 12:45:01 +0200
commit349e1a7ce141d11432dda730ab8d34ab123117c5 (patch)
tree3bb7680465533e0227b2d687c61340a53505128a /vcl/source/gdi/mapmod.cxx
parent952734d4214e647110b556e962b11d192c76ee0a (diff)
clang:optin.performance.Padding in vcl
Excessive padding in 'class ImplAccelEntry' (13 padding bytes, where 5 is optimal). Excessive padding in 'struct SalQueryCharPositionEvent' (14 padding bytes, where 6 is optimal). Excessive padding in 'struct SalFrameState' (8 padding bytes, where 0 is optimal). Excessive padding in 'struct BitmapBuffer' (10 padding bytes, where 2 is optimal). Excessive padding in 'class GraphicAttr' (10 padding bytes, where 2 is optimal). Excessive padding in 'struct ImplPostEventData' (12 padding bytes, where 4 is optimal). Excessive padding in 'class TETextPortion' (10 padding bytes, where 2 is optimal). Excessive padding in 'struct MapMode::ImplMapMode' (11 padding bytes, where 3 is optimal). Change-Id: I41801e0fd676981cc9f386d814fe2f0ea670a673 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121925 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi/mapmod.cxx')
-rw-r--r--vcl/source/gdi/mapmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/mapmod.cxx b/vcl/source/gdi/mapmod.cxx
index 2a61b271df9b..0e74157dec86 100644
--- a/vcl/source/gdi/mapmod.cxx
+++ b/vcl/source/gdi/mapmod.cxx
@@ -27,8 +27,8 @@
struct MapMode::ImplMapMode
{
- MapUnit meUnit;
Point maOrigin;
+ MapUnit meUnit;
// NOTE: these Fraction must NOT have more than 32 bits precision
// because ReadFraction / WriteFraction do only 32 bits, so more than
// that cannot be stored in MetaFiles!