chart2/source/view/main/PropertyMapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 74e74e9a7b6c264112eda1f5bc9e9c5dddf9f4c5 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Jan 6 20:58:00 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Jan 7 06:57:51 2022 +0100 fix setPropertyNameMapForFilledSeriesProperties called the wrong method to set new properties, rather than overwrite all existing properties Change-Id: I85de598a14876c110e414371fc07a3fde9c6a123 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128059 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index c8bd6e1d61eb..c8edc21aa852 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -597,7 +597,7 @@ void PropertyMapper::setPropertyNameMapForFilledSeriesProperties(SdrPathObj* pSh xOptionSet->Put(XFillColorItem(OUString(), Color(ColorTransparency, *xFillColor))); } if (xOptionSet) - pShape->SetMergedItemSet(*xOptionSet); + pShape->GetProperties().SetObjectItemSet(*xOptionSet); }