diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-18 16:16:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-19 09:31:43 +0200 |
commit | a090b8785f6580ef779fb8b4e140f82085b4455a (patch) | |
tree | f6df5110361916dda403ef429cf7ad6b66a9e7d2 /cui/source/tabpages/tppattern.cxx | |
parent | c087e24c683dc402c442bb0a3dbea974000b72b2 (diff) |
inline some use-once fields in cui
Change-Id: Ib2abea6b1f68cf193325d312e67578b2d346e39a
Diffstat (limited to 'cui/source/tabpages/tppattern.cxx')
-rw-r--r-- | cui/source/tabpages/tppattern.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index 95746d9ca8d1..d0f3bd8cdf41 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -93,7 +93,6 @@ SvxPatternTabPage::SvxPatternTabPage( vcl::Window* pParent, const SfxItemSet& r m_pnPatternListState ( nullptr ), m_pnColorListState ( nullptr ), - m_aXFStyleItem ( drawing::FillStyle_BITMAP ), m_aXPatternItem ( OUString(), Graphic() ), m_aXFillAttr ( rInAttrs.GetPool() ), m_rXFSet ( m_aXFillAttr.GetItemSet() ) @@ -119,7 +118,7 @@ SvxPatternTabPage::SvxPatternTabPage( vcl::Window* pParent, const SfxItemSet& r SetExchangeSupport(); // setting the output device - m_rXFSet.Put( m_aXFStyleItem ); + m_rXFSet.Put( XFillStyleItem(drawing::FillStyle_BITMAP) ); m_rXFSet.Put( m_aXPatternItem ); m_pBtnAdd->SetClickHdl( LINK( this, SvxPatternTabPage, ClickAddHdl_Impl ) ); |