From 01e470f0ab49e458c57b0f28636a517b2bfb1b4a Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 21 Jan 2018 04:48:50 +1100 Subject: vcl: remove BitmapColor Color() operator BitmapColor has a Color() operator. However, this is confusing and tends to hide that the two classes aren't the same. I have converted this to GetColor(). Change-Id: I0be2dcb3fc420e7be9c8d04330e7a3fe69a5412a Reviewed-on: https://gerrit.libreoffice.org/48245 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- vcl/backendtest/outputdevice/common.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/backendtest') diff --git a/vcl/backendtest/outputdevice/common.cxx b/vcl/backendtest/outputdevice/common.cxx index 6c9c02a8edb0..256aede7e863 100644 --- a/vcl/backendtest/outputdevice/common.cxx +++ b/vcl/backendtest/outputdevice/common.cxx @@ -29,7 +29,7 @@ void checkValue(Bitmap::ScopedWriteAccess& pAccess, int x, int y, Color aExpecte int& nNumberOfQuirks, int& nNumberOfErrors, bool bQuirkMode, int nColorDeltaThresh = 0) { const bool bColorize = false; - Color aColor = pAccess->GetPixel(y, x); + Color aColor = pAccess->GetPixel(y, x).GetColor(); int nColorDelta = deltaColor(aColor, aExpected); if (nColorDelta <= nColorDeltaThresh) -- cgit