[Libreoffice-commits] core.git: include/vcl vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Feb 18 14:27:11 UTC 2019
include/vcl/lineinfo.hxx | 9 +++++----
vcl/source/gdi/lineinfo.cxx | 20 ++++++++++----------
2 files changed, 15 insertions(+), 14 deletions(-)
New commits:
commit 6930a89190f063f574381c7c166aa44f001424fe
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Feb 18 11:27:15 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 18 15:26:48 2019 +0100
reorder to reduce size from 64 to 48 bytes
ofz#13164 1.200G -> 1.195G
Change-Id: I3738b7635a7927f1f88021e5bf00dcc5509e6ea3
Reviewed-on: https://gerrit.libreoffice.org/67960
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/vcl/lineinfo.hxx b/include/vcl/lineinfo.hxx
index 4ed486d55452..73b5376abbf8 100644
--- a/include/vcl/lineinfo.hxx
+++ b/include/vcl/lineinfo.hxx
@@ -32,18 +32,19 @@ namespace basegfx { class B2DPolyPolygon; }
struct ImplLineInfo
{
- LineStyle meStyle;
long mnWidth;
- sal_uInt16 mnDashCount;
long mnDashLen;
- sal_uInt16 mnDotCount;
long mnDotLen;
long mnDistance;
basegfx::B2DLineJoin meLineJoin;
css::drawing::LineCap meLineCap;
+ LineStyle meStyle;
+
+ sal_uInt16 mnDashCount;
+ sal_uInt16 mnDotCount;
- ImplLineInfo();
+ ImplLineInfo();
bool operator==( const ImplLineInfo& ) const;
};
diff --git a/vcl/source/gdi/lineinfo.cxx b/vcl/source/gdi/lineinfo.cxx
index d7104171646a..85c54eefbf5a 100644
--- a/vcl/source/gdi/lineinfo.cxx
+++ b/vcl/source/gdi/lineinfo.cxx
@@ -26,16 +26,16 @@
#include <numeric>
-ImplLineInfo::ImplLineInfo() :
- meStyle ( LineStyle::Solid ),
- mnWidth ( 0 ),
- mnDashCount ( 0 ),
- mnDashLen ( 0 ),
- mnDotCount ( 0 ),
- mnDotLen ( 0 ),
- mnDistance ( 0 ),
- meLineJoin ( basegfx::B2DLineJoin::Round ),
- meLineCap ( css::drawing::LineCap_BUTT )
+ImplLineInfo::ImplLineInfo()
+ : mnWidth(0)
+ , mnDashLen(0)
+ , mnDotLen(0)
+ , mnDistance(0)
+ , meLineJoin(basegfx::B2DLineJoin::Round)
+ , meLineCap(css::drawing::LineCap_BUTT)
+ , meStyle(LineStyle::Solid)
+ , mnDashCount(0)
+ , mnDotCount(0)
{
}
More information about the Libreoffice-commits
mailing list