diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 16:10:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 08:50:46 +0200 |
commit | ac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (patch) | |
tree | d16f934544638622cc9f511ef64cc2dd2425b600 /cui | |
parent | ec38966951f28a1e1d4c97f01a550c87f152cbc8 (diff) |
loplugin:checkunusedparams in svx(part4)
Change-Id: I032b49f4e1228ef275d7ff8d87ba969dcef687ab
Reviewed-on: https://gerrit.libreoffice.org/37248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tptrans.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx index 90cea669a8a8..5b1ce71a644a 100644 --- a/cui/source/tabpages/tptrans.cxx +++ b/cui/source/tabpages/tptrans.cxx @@ -171,7 +171,7 @@ void SvxTransparenceTabPage::ModifiedTrgrHdl_Impl(void* pControl) (sal_uInt16)m_pMtrTrgrBorder->GetValue(), 100, 100); - XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aTmpGradient); + XFillFloatTransparenceItem aItem( aTmpGradient); rXFSet.Put ( aItem ); InvalidatePreview(); @@ -356,7 +356,7 @@ bool SvxTransparenceTabPage::FillItemSet(SfxItemSet* rAttrs) (sal_uInt16)m_pMtrTrgrBorder->GetValue(), 100, 100); - XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aTmpGradient); + XFillFloatTransparenceItem aItem(aTmpGradient); const SfxPoolItem* pOld = GetOldItem(*rAttrs, XATTR_FILLFLOATTRANSPARENCE); if(!pOld || !(*static_cast<const XFillFloatTransparenceItem*>(pOld) == aItem) || !bGradActive) @@ -381,7 +381,7 @@ bool SvxTransparenceTabPage::FillItemSet(SfxItemSet* rAttrs) XGradient aGrad(aColor, Color(COL_WHITE)); aGrad.SetStartIntens(100); aGrad.SetEndIntens(100); - XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aGrad); + XFillFloatTransparenceItem aItem(aGrad); aItem.SetEnabled(false); rAttrs->Put(aItem); bModified = true; |