[Libreoffice-commits] core.git: cui/source

Katarina Behrens Katarina.Behrens at cib.de
Thu Dec 15 20:44:17 UTC 2016


 cui/source/tabpages/tparea.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 4c5079791f5d985151ebc090c5a07705e76a728e
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Thu Dec 15 16:36:00 2016 +0100

    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 at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index db7cd3f..0032e28 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:


More information about the Libreoffice-commits mailing list