summaryrefslogtreecommitdiff
path: root/basegfx/source/color/bcolormodifier.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/color/bcolormodifier.cxx')
-rw-r--r--basegfx/source/color/bcolormodifier.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/color/bcolormodifier.cxx b/basegfx/source/color/bcolormodifier.cxx
index c943658f05eb..5cf2a5a86c80 100644
--- a/basegfx/source/color/bcolormodifier.cxx
+++ b/basegfx/source/color/bcolormodifier.cxx
@@ -208,11 +208,11 @@ namespace basegfx
mfBlueOff(0.0),
mbUseIt(false)
{
- if(!(!basegfx::fTools::equalZero(mfRed)
- || !basegfx::fTools::equalZero(mfGreen)
- || !basegfx::fTools::equalZero(mfBlue)
- || !basegfx::fTools::equalZero(mfLuminance)
- || !basegfx::fTools::equalZero(mfContrast)))
+ if(basegfx::fTools::equalZero(mfRed)
+ && basegfx::fTools::equalZero(mfGreen)
+ && basegfx::fTools::equalZero(mfBlue)
+ && basegfx::fTools::equalZero(mfLuminance)
+ && basegfx::fTools::equalZero(mfContrast))
return;
// calculate slope