summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tplneend.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-18 16:16:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-19 09:31:43 +0200
commita090b8785f6580ef779fb8b4e140f82085b4455a (patch)
treef6df5110361916dda403ef429cf7ad6b66a9e7d2 /cui/source/tabpages/tplneend.cxx
parentc087e24c683dc402c442bb0a3dbea974000b72b2 (diff)
inline some use-once fields in cui
Change-Id: Ib2abea6b1f68cf193325d312e67578b2d346e39a
Diffstat (limited to 'cui/source/tabpages/tplneend.cxx')
-rw-r--r--cui/source/tabpages/tplneend.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx
index 4ac321a6e65c..e3ada8dc504b 100644
--- a/cui/source/tabpages/tplneend.cxx
+++ b/cui/source/tabpages/tplneend.cxx
@@ -64,8 +64,6 @@ SvxLineEndDefTabPage::SvxLineEndDefTabPage
rOutAttrs ( rInAttrs ),
pPolyObj ( nullptr ),
- aXLStyle ( css::drawing::LineStyle_SOLID ),
- aXWidth ( XOUT_WIDTH ),
aXColor ( OUString(), COL_BLACK ),
aXLineAttr ( rInAttrs.GetPool() ),
rXLSet ( aXLineAttr.GetItemSet() ),
@@ -87,8 +85,8 @@ SvxLineEndDefTabPage::SvxLineEndDefTabPage
// this page needs ExchangeSupport
SetExchangeSupport();
- rXLSet.Put( aXLStyle );
- rXLSet.Put( aXWidth );
+ rXLSet.Put( XLineStyleItem(css::drawing::LineStyle_SOLID) );
+ rXLSet.Put( XLineWidthItem(XOUT_WIDTH) );
rXLSet.Put( aXColor );
rXLSet.Put( XLineStartWidthItem( m_pCtlPreview->GetOutputSize().Height() / 2 ) );
rXLSet.Put( XLineEndWidthItem( m_pCtlPreview->GetOutputSize().Height() / 2 ) );