summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-09-07 16:34:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-09-09 11:53:06 +0200
commit7ccaecd33a30905e3929d43c8164b16bbb101b73 (patch)
tree2c3a1a505a4ef5d27e075c912311ddcd26ec7ebb /cui
parent8ac547a463c4061961f924e858a377525ea821b1 (diff)
tdf#157138: Can't switch from Use Background to None area fill
Revert partly tdf#151260 fix Change-Id: I4c052e2cd1cb41dc8bda4b388b46e4416e351434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156669 (cherry picked from commit b69e14038288387b5f288a06821fb5df66dcf94e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156733 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tparea.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index d1ece1c0e4d4..4751c21c93c5 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -240,11 +240,8 @@ DeactivateRC SvxAreaTabPage::DeactivatePage( SfxItemSet* _pSet )
{
XFillStyleItem aStyleItem( drawing::FillStyle_NONE );
_pSet->Put( aStyleItem );
- if (_pSet->HasItem(XATTR_FILLUSESLIDEBACKGROUND))
- {
- XFillUseSlideBackgroundItem aFillBgItem( false );
- _pSet->Put( aFillBgItem );
- }
+ XFillUseSlideBackgroundItem aFillBgItem( false );
+ _pSet->Put( aFillBgItem );
}
break;
}