[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source svx/sdi
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 23 17:17:06 UTC 2020
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.klos at collabora.com>
AuthorDate: Tue Aug 11 15:14:23 2020 +0200
Commit: Andras Timar <andras.timar at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101235
Reviewed-by: Andras Timar <andras.timar at 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,
More information about the Libreoffice-commits
mailing list