[Libreoffice-commits] core.git: 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 |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit 83974b2f9b9dcbe42399c94f7de844bcf8c0b705
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 16:02:25 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>
    (cherry picked from commit 06592c3c818f41b73ed0d8fa677cf7475c7cae5a)
    Reviewed-on: https://gerrit.libreoffice.org/82602
    Tested-by: Jenkins

diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 29a832d27cb2..e414ec01e0c0 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -68,6 +68,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>
@@ -964,6 +965,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