[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - cui/source

Katarina Behrens Katarina.Behrens at cib.de
Mon Dec 19 13:03:16 UTC 2016


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

New commits:
commit 28ffaf79b993d05dd0775d0a14e83dc476c93bf1
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>
    (cherry picked from commit 4c5079791f5d985151ebc090c5a07705e76a728e)
    Reviewed-on: https://gerrit.libreoffice.org/32053
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index fdbcfc9..22bb3c9 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