diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-12-15 16:36:00 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-12-15 20:43:27 +0000 |
commit | 4c5079791f5d985151ebc090c5a07705e76a728e (patch) | |
tree | 09cc1a830244230329fd02ae00f5f8b7de191b7f /cui | |
parent | 426215ca6fedd13ece07463ee95dd33bdb1a9a28 (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>
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 db7cd3fe9101..0032e28f6a68 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: |