diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 09:34:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-22 07:22:13 +0100 |
commit | 8e7226233940a201c76c6a43e0648603d17961f4 (patch) | |
tree | 523aaab816b93c7c276def7d8462500cae0df957 /include | |
parent | eb21db08b3aee4b9113d221ca47af73d2f9b82d7 (diff) |
ColorData->Color in sc
and fix the sal_Int32() conversion operator in Color, which was
always returning 0
Change-Id: I0aefaedc34ee0a8bccd43238ccfe8196d2dd5c5c
Reviewed-on: https://gerrit.libreoffice.org/50051
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/color.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index cb88d61a6c70..823c90909310 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -62,7 +62,7 @@ public: constexpr explicit operator sal_Int32() const { - return sal_Int32(sal_uInt32()); + return sal_Int32(mnColor); } bool operator<(const Color& b) const |