sc/source/ui/drawfunc/drawsh.cxx |    8 ++++++++
 svx/sdi/svx.sdi                  |    2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

New commits:
commit 3e9dda1e2ea7ce16c9d2c2d86c311d2b50188dac
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Tue Aug 11 15:14:23 2020 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Sun Aug 23 19:16:34 2020 +0200

    Shadow color setter for online
    
    Change-Id: Id79d879a6017beb39e95a8d923e8368178901c74
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100502
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101235
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 069642c55268..36d18b69ba43 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -58,6 +58,7 @@
 #include <svx/xlnclit.hxx>
 #include <svx/xflclit.hxx>
 #include <svx/xflgrit.hxx>
+#include <editeng/colritem.hxx>
 
 SFX_IMPL_INTERFACE(ScDrawShell, SfxShell)
 
@@ -103,6 +104,13 @@ namespace
                     pArgs->Put(aFillColorItem);
                     break;
                 }
+
+                case SID_ATTR_SHADOW_COLOR:
+                {
+                    XColorItem aItem(SDRATTR_SHADOWCOLOR, aColor);
+                    pArgs->Put(aItem);
+                    break;
+                }
             }
         }
         if (SfxItemState::SET == pArgs->GetItemState(SID_FILL_GRADIENT_JSON, 
false, &pItem))
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index 8e43464f8b4a..3b4ae1fdd48c 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -7669,7 +7669,7 @@ SdrOnOffItem FillShadow SID_ATTR_FILL_SHADOW
 ]
 
 XColorItem FillShadowColor SID_ATTR_SHADOW_COLOR
-
+(SfxStringItem Color SID_ATTR_COLOR_STR)
 [
 
     AutoUpdate = TRUE,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to