include/svx/ColorSets.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5bb291df3c39656cd24a7c379b8764172d48579a Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Jan 16 19:28:46 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Jan 17 16:04:30 2021 +0100 use ::Color in ColorSet::add Change-Id: I8b34807e62c292a19700e6d37edd99e442574ec4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109452 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/svx/ColorSets.hxx b/include/svx/ColorSets.hxx index 8b4a035a1857..361fe47c622e 100644 --- a/include/svx/ColorSets.hxx +++ b/include/svx/ColorSets.hxx @@ -28,9 +28,9 @@ class ColorSet public: ColorSet(OUString const & aName); - void add(sal_uInt32 nIndex, sal_uInt32 aColorData) + void add(sal_uInt32 nIndex, ::Color aColorData) { - maColors[nIndex] = Color(ColorTransparency, aColorData); + maColors[nIndex] = aColorData; } const OUString& getName() const _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits