diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-26 10:32:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-26 16:11:58 +0100 |
commit | 97448039e1e63f3bd6b61ab3215ede721ca368e4 (patch) | |
tree | e2ea6d151df11160f2922e9e6c0c8b502a98c2fe /include/tools/color.hxx | |
parent | Swap UTF16-BE to UTF16-LE in Hash::calculateHash() (diff) | |
download | core-97448039e1e63f3bd6b61ab3215ede721ca368e4.tar.gz core-97448039e1e63f3bd6b61ab3215ede721ca368e4.zip |
use less RGB_COLORDATA
part of removing ColorData
Change-Id: If31b5b88545529863377e9a178f45f4516bf6cbb
Reviewed-on: https://gerrit.libreoffice.org/50345
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/color.hxx')
-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 823c90909310..29d202908128 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -133,7 +133,7 @@ public: // Hue: 0-360 degree // Saturation: 0-100% // Brightness: 0-100% - static ColorData HSBtoRGB(sal_uInt16 nHue, sal_uInt16 nSaturation, sal_uInt16 nBrightness); + static Color HSBtoRGB(sal_uInt16 nHue, sal_uInt16 nSaturation, sal_uInt16 nBrightness); void RGBtoHSB(sal_uInt16& nHue, sal_uInt16& nSaturation, sal_uInt16& nBrightness) const; bool operator==(const Color& rColor) const |