[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source svx/sdi
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 14 20:43:41 UTC 2020
sc/source/ui/drawfunc/drawsh.cxx | 8 ++++++++
svx/sdi/svx.sdi | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
New commits:
commit c10f1254e250280227a33bb9c8045ce99bd092d5
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Aug 11 15:14:23 2020 +0200
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Fri Aug 14 22:43:09 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>
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 70623818ef29..1b19748a584a 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -64,6 +64,7 @@
#include <svx/xlnclit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xflgrit.hxx>
+#include <editeng/colritem.hxx>
SFX_IMPL_INTERFACE(ScDrawShell, SfxShell)
@@ -109,6 +110,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 36fe1d2e528d..2d8ef16ecae4 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -7632,7 +7632,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