From ac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 4 May 2017 16:10:13 +0200 Subject: loplugin:checkunusedparams in svx(part4) Change-Id: I032b49f4e1228ef275d7ff8d87ba969dcef687ab Reviewed-on: https://gerrit.libreoffice.org/37248 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/tabpages/tptrans.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cui') 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(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; -- cgit