summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/hslcolor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/hslcolor.hxx')
-rw-r--r--slideshow/source/inc/hslcolor.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/inc/hslcolor.hxx b/slideshow/source/inc/hslcolor.hxx
index 67fc5c24e7ff..5529a1b83f24 100644
--- a/slideshow/source/inc/hslcolor.hxx
+++ b/slideshow/source/inc/hslcolor.hxx
@@ -44,19 +44,19 @@ namespace slideshow
@return hue, is in the range [0,360]
*/
- double getHue() const;
+ double getHue() const { return maHSLTriple.mnHue; }
/** Saturation of the color.
@return saturation, is in the range [0,1]
*/
- double getSaturation() const;
+ double getSaturation() const { return maHSLTriple.mnSaturation; }
/** Luminance of the color.
@return luminance, is in the range [0,1]
*/
- double getLuminance() const;
+ double getLuminance() const { return maHSLTriple.mnLuminance; }
struct HSLTriple
{