diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 16:51:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 12:14:54 +0200 |
commit | ea955e2f2bfcf05c276b7f7598c7136c732a8542 (patch) | |
tree | 668e2fe28d7ded75975e856e12194e72eca91332 /cui/source/tabpages/tpcolor.cxx | |
parent | ef74b2ea5691ef9465b8f523030c039f6f0d8688 (diff) |
loplugin:unusedfields in cui
Change-Id: If92e31342f587b5e0e9fc7efd85fdcb48f3043c7
Reviewed-on: https://gerrit.libreoffice.org/54457
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/tpcolor.cxx')
-rw-r--r-- | cui/source/tabpages/tpcolor.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 0e709f09e0f4..f73359468cbe 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -59,7 +59,6 @@ SvxColorTabPage::SvxColorTabPage(vcl::Window* pParent, const SfxItemSet& rInAttr , rOutAttrs ( rInAttrs ) // All the horrific pointers we store and should not , pnColorListState( nullptr ) - , aXFillColorItem( OUString(), COL_BLACK ) , aXFillAttr( rInAttrs.GetPool() ) , rXFSet( aXFillAttr.GetItemSet() ) , eCM( ColorModel::RGB ) @@ -109,7 +108,7 @@ SvxColorTabPage::SvxColorTabPage(vcl::Window* pParent, const SfxItemSet& rInAttr // setting the output device rXFSet.Put( XFillStyleItem(drawing::FillStyle_SOLID) ); - rXFSet.Put( aXFillColorItem ); + rXFSet.Put( XFillColorItem(OUString(), COL_BLACK) ); m_pCtlPreviewOld->SetAttributes( aXFillAttr.GetItemSet() ); m_pCtlPreviewNew->SetAttributes( aXFillAttr.GetItemSet() ); |