summaryrefslogtreecommitdiff
path: root/vcl/source/bitmap/BitmapProcessor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/bitmap/BitmapProcessor.cxx')
-rw-r--r--vcl/source/bitmap/BitmapProcessor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/bitmap/BitmapProcessor.cxx b/vcl/source/bitmap/BitmapProcessor.cxx
index 378191ece8bd..ab191189ccf6 100644
--- a/vcl/source/bitmap/BitmapProcessor.cxx
+++ b/vcl/source/bitmap/BitmapProcessor.cxx
@@ -34,7 +34,7 @@ BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx)
BitmapColor aBmpColor = pRead->HasPalette() ?
pRead->GetPaletteColor(pRead->GetIndexFromData(pScanlineRead, nX)) :
pRead->GetPixelFromData(pScanlineRead, nX);
- basegfx::BColor aBColor(Color(aBmpColor.Invert().GetColor()).getBColor());
+ basegfx::BColor aBColor(aBmpColor.Invert().GetColor().getBColor());
aBColor = basegfx::utils::rgb2hsl(aBColor);
double fHue = aBColor.getRed();