[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - svx/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 13 15:03:17 UTC 2019


 svx/source/svdraw/svdedtv1.cxx |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit 5adc79f54507bb7d191589a0895e491c95e63fe7
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 15:10:58 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 16:02:28 2019 +0100

    jsdialogs: send .uno:FillShadowTransparency updates
    
    Change-Id: Id74a0cf697faf796f68f5c350941e354494a6e3b
    Reviewed-on: https://gerrit.libreoffice.org/82607
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 8f24463c3e01..3ffec47477c8 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -1001,6 +1001,19 @@ void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) con
                         }
                         break;
                     }
+
+                    case SDRATTR_SHADOWTRANSPARENCE:
+                    {
+                        const SfxPoolItem* pItem = rSet.GetItem(SDRATTR_SHADOWTRANSPARENCE);
+                        if (pItem)
+                        {
+                            sal_uInt16 nWidth = static_cast<const SfxUInt16Item*>(pItem)->GetValue();
+                            sPayload = OUString::number(nWidth);
+
+                            sPayload = ".uno:FillShadowTransparency=" + sPayload;
+                        }
+                        break;
+                    }
                 }
 
                 if (!sPayload.isEmpty())


More information about the Libreoffice-commits mailing list