diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-12 10:55:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-12 19:53:45 +0200 |
commit | b0ec87af1be24f8bc7ac2a989cda3e40bb842aee (patch) | |
tree | 0a41987f4c3eed4d36a32f537b6e3abc2ca511a4 /svx | |
parent | fd26ff2418a8c2abc71c9155f458ff798a580bea (diff) |
loplugin:unusedfields
Change-Id: I8d15b380cd02237f688b8946530e1f024b698e90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138195
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index d4e7e507f2ef..077d5ea59174 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -1007,10 +1007,7 @@ void AreaPropertyPanelBase::updateFillBitmap(bool bDisabled, bool bDefaultOrSet, void AreaPropertyPanelBase::updateFillUseBackground(bool bDisabled, bool bDefaultOrSet, const SfxPoolItem* pState) { if (bDisabled) - { - mpUseSlideBackgroundItem.reset(); return; - } if (bDefaultOrSet) { @@ -1020,17 +1017,8 @@ void AreaPropertyPanelBase::updateFillUseBackground(bool bDisabled, bool bDefaul // When XFillUseSlideBackgroundItem is true, select "Use Background Fill". When false, select "None" int nPos = pItem->GetValue() ? USE_BACKGROUND : NONE; mxLbFillType->set_active(nPos); - mpUseSlideBackgroundItem.reset(pItem->Clone()); FillStyleChanged(false); } - else - { - mpUseSlideBackgroundItem.reset(); - } - } - else - { - mpUseSlideBackgroundItem.reset(); } } |