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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 14 07:54:58 UTC 2019


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

New commits:
commit 02e3e25e1c0b6468b5a9bfa623da7db6fb566ac7
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: Thu Nov 14 08:53:59 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>
    (cherry picked from commit 5adc79f54507bb7d191589a0895e491c95e63fe7)
    Reviewed-on: https://gerrit.libreoffice.org/82614
    Tested-by: Jenkins

diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index e414ec01e0c0..5ce79bfd1721 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -69,6 +69,7 @@
 #include <svx/xflclit.hxx>
 #include <svx/xlntrit.hxx>
 #include <svx/xfltrit.hxx>
+#include <svx/sdprcitm.hxx>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 #include <rtl/ustring.hxx>
 #include <sfx2/viewsh.hxx>
@@ -1003,6 +1004,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