[Libreoffice-commits] core.git: include/svx
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 17 15:05:15 UTC 2021
include/svx/ColorSets.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5bb291df3c39656cd24a7c379b8764172d48579a
Author: Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sat Jan 16 19:28:46 2021 +0200
Commit: Noel Grandin <noel.grandin at 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.grandin at 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
More information about the Libreoffice-commits
mailing list