From 4c5079791f5d985151ebc090c5a07705e76a728e Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Thu, 15 Dec 2016 16:36:00 +0100 Subject: 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 Tested-by: Katarina Behrens --- cui/source/tabpages/tparea.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cui') 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(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(_pSet); case GRADIENT: -- cgit