summaryrefslogtreecommitdiffstats
path: root/cui/source/tabpages/tplneend.cxx
diff options
context:
space:
mode:
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 ) );