Kaydet (Commit) 46f0ae64 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

121870: adjust threshold for <Color::IsDark()> to improve interoperability with…

121870: adjust threshold for <Color::IsDark()> to improve interoperability with Microsoft Office documents

Patch by: Pedro <pfg@apache.org>
Review by: Oliver <orw @apache.org>
üst d2846c53
...@@ -143,7 +143,7 @@ void Color::Invert() ...@@ -143,7 +143,7 @@ void Color::Invert()
sal_Bool Color::IsDark() const sal_Bool Color::IsDark() const
{ {
return GetLuminance() <= 38; return GetLuminance() <= 55;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment