[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 12:44:08 UTC 2019


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

New commits:
commit 06592c3c818f41b73ed0d8fa677cf7475c7cae5a
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 12:42:04 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 13:43:30 2019 +0100

    jsdialogs: send .uno:FillTransparence updates
    
    Change-Id: I9951429d00c1c50d6ef3b1a703b266be6d72de9a
    Reviewed-on: https://gerrit.libreoffice.org/82586
    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 2cd4f67b747e..8f24463c3e01 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -66,6 +66,7 @@
 #include <svx/xlnclit.hxx>
 #include <svx/xflclit.hxx>
 #include <svx/xlntrit.hxx>
+#include <svx/xfltrit.hxx>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 #include <rtl/ustring.hxx>
 #include <sfx2/viewsh.hxx>
@@ -962,6 +963,19 @@ void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) con
                         break;
                     }
 
+                    case XATTR_FILLTRANSPARENCE:
+                    {
+                        const SfxPoolItem* pItem = rSet.GetItem(XATTR_FILLTRANSPARENCE);
+                        if (pItem)
+                        {
+                            sal_uInt16 nTransparency = static_cast<const SfxUInt16Item*>(pItem)->GetValue();
+                            sPayload = OUString::number(nTransparency);
+
+                            sPayload = ".uno:FillTransparence=" + sPayload;
+                        }
+                        break;
+                    }
+
                     case XATTR_LINETRANSPARENCE:
                     {
                         const SfxPoolItem* pItem = rSet.GetItem(XATTR_LINETRANSPARENCE);


More information about the Libreoffice-commits mailing list