summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorDaniel Robertson <danlrobertson89@gmail.com>2015-11-03 14:14:08 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-11-04 08:16:13 +0000
commitf57a6593e21d45008173352fc29ededdbc2c8878 (patch)
tree4fad08a21a7cbbd391b266c2b8e607a02efeece8 /editeng
parent2e6327e4e8c35678a7a52b8b1a78c99caff1f73f (diff)
editeng: Eliminate unecessary padding in classes
Edit the order of SvxLRSpaceItem and PaintFirstLineInfo members to remove unecessary padding due to data alignment. Change-Id: Icf2c92ef86a32384e51d1cb6f1a079b10995dfd5 Reviewed-on: https://gerrit.libreoffice.org/19763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 11cbfe2825c9..3aa5888af877 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -399,13 +399,13 @@ SvxLRSpaceItem::SvxLRSpaceItem( const sal_uInt16 nId ) :
SfxPoolItem( nId ),
- nFirstLineOfst ( 0 ),
nTxtLeft ( 0 ),
nLeftMargin ( 0 ),
nRightMargin ( 0 ),
nPropFirstLineOfst( 100 ),
nPropLeftMargin( 100 ),
nPropRightMargin( 100 ),
+ nFirstLineOfst ( 0 ),
bAutoFirst ( false ),
bExplicitZeroMarginValRight(false),
bExplicitZeroMarginValLeft(false)
@@ -420,13 +420,13 @@ SvxLRSpaceItem::SvxLRSpaceItem( const long nLeft, const long nRight,
SfxPoolItem( nId ),
- nFirstLineOfst ( nOfset ),
nTxtLeft ( nTLeft ),
nLeftMargin ( nLeft ),
nRightMargin ( nRight ),
nPropFirstLineOfst( 100 ),
nPropLeftMargin( 100 ),
nPropRightMargin( 100 ),
+ nFirstLineOfst ( nOfset ),
bAutoFirst ( false ),
bExplicitZeroMarginValRight(false),
bExplicitZeroMarginValLeft(false)