summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-08-11 15:14:23 +0200
committerAndras Timar <andras.timar@collabora.com>2020-08-23 19:16:34 +0200
commit3e9dda1e2ea7ce16c9d2c2d86c311d2b50188dac (patch)
treef070dd8c6d513d992cbd979f1d00613589053123 /sc/source/ui
parentb243549bb1c2d254b52c51b6250e9e0e48942fe9 (diff)
Shadow color setter for online
Change-Id: Id79d879a6017beb39e95a8d923e8368178901c74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100502 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101235 Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx8
1 files changed, 8 insertions, 0 deletions
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))