diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-12-15 16:36:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-19 13:02:30 +0000 |
commit | 28ffaf79b993d05dd0775d0a14e83dc476c93bf1 (patch) | |
tree | f84a7dca4cb1712b5be710394e796e0aaf58b2dc /cui | |
parent | e38415d1c76461123106bb07708665da23cf5249 (diff) |
tdf#104221: Make up for non-existent FillItemSet
for fill:none option
Change-Id: I12ada9276a613f157976650148f2389126d16f08
Reviewed-on: https://gerrit.libreoffice.org/32050
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit 4c5079791f5d985151ebc090c5a07705e76a728e)
Reviewed-on: https://gerrit.libreoffice.org/32053
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tparea.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index fdbcfc91030f..22bb3c9bab3f 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -205,6 +205,14 @@ DeactivateRC SvxAreaTabPage::DeactivatePage( SfxItemSet* _pSet ) FillType eFillType = static_cast<FillType>(maBox.GetCurrentButtonPos()); switch( eFillType ) { + case TRANSPARENT: + { + // Fill: None doesn't have its own tabpage and thus + // implementation of FillItemSet, so we supply it here + XFillStyleItem aStyleItem( drawing::FillStyle_NONE ); + _pSet->Put( aStyleItem ); + break; + } case SOLID: return DeactivatePage_Impl<SvxColorTabPage>(_pSet); case GRADIENT: |