diff options
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/generic/color.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 73be2beaf6de..2b7c5cc35102 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -56,16 +56,6 @@ void Color::DecreaseContrast(sal_uInt8 nContDec) } } -bool Color::IsDark() const -{ - return GetLuminance() <= 60; -} - -bool Color::IsBright() const -{ - return GetLuminance() >= 245; -} - // color space conversion void Color::RGBtoHSB( sal_uInt16& nHue, sal_uInt16& nSat, sal_uInt16& nBri ) const |