From a090b8785f6580ef779fb8b4e140f82085b4455a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Sep 2017 16:16:09 +0200 Subject: inline some use-once fields in cui Change-Id: Ib2abea6b1f68cf193325d312e67578b2d346e39a --- cui/source/tabpages/tplneend.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cui/source/tabpages/tplneend.cxx') 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 ) ); -- cgit v1.2.3