summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2016-07-07 21:54:55 +0530
committerRishabh Kumar <kris.kr296@yahoo.in>2016-07-07 17:42:19 +0000
commitcdf3a3907e19111bc602f9697b2c158cd32adb23 (patch)
tree1bf08b18d4d509e24a2657ccd4fe7739c40d8e65 /svx
parenteba4f69a321c574abf5b936fb39141e0c4f92fda (diff)
Change fill styles correctly
Change-Id: I0a20693d5db1df5f560acdf014aee05360854e9b Reviewed-on: https://gerrit.libreoffice.org/27016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanelBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 52a2deb49e61..46aa13e15b5a 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -330,7 +330,7 @@ IMPL_LINK_NOARG_TYPED(AreaPropertyPanelBase, SelectFillTypeHdl, ListBox&, void)
const XFillGradientItem aXFillGradientItem(aGradient);
// #i122676# change FillStyle and Gradient in one call
- XFillStyleItem aXFillStyleItem(drawing::FillStyle_SOLID);
+ XFillStyleItem aXFillStyleItem(drawing::FillStyle_GRADIENT);
setFillStyleAndGradient(&aXFillStyleItem, aXFillGradientItem);
mpLbFillGradFrom->SelectEntry(aGradient.GetStartColor());
if(mpLbFillGradFrom->GetSelectEntryCount() == 0)