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 --- drawinglayer/source/texture/texture3d.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx index 069759533cd5..fc8750199c8f 100644 --- a/drawinglayer/source/texture/texture3d.cxx +++ b/drawinglayer/source/texture/texture3d.cxx @@ -122,7 +122,7 @@ namespace drawinglayer { const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX)); - if(maBitmapEx.GetTransparentColor() == aBitmapColor.operator Color()) + if(maBitmapEx.GetTransparentColor() == aBitmapColor.GetColor()) { return 255; } -- cgit v1.2.3