[Libreoffice-commits] core.git: drawinglayer/source
Caolán McNamara
caolanm at redhat.com
Sat Jun 2 20:18:22 UTC 2018
drawinglayer/source/texture/texture3d.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3e600bf0e99bcf9080937e8fba82ae2473d26664
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 2 19:56:27 2018 +0100
coverity#1435911 Arguments in wrong order
since...
commit 63e65d1743264dfa26d2aba615d71978e65784e8
Date: Wed May 30 11:11:21 2018 +0200
dont use GetMask in GeoTexSvxBitmapEx
Change-Id: If5ea0f420ed588ccec21f9662473e1cae1b32f12
Reviewed-on: https://gerrit.libreoffice.org/55219
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index 0573c3e4b3f5..647b671c5ea7 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -165,7 +165,7 @@ namespace drawinglayer
else
{
// this texture is a color bitmap used as transparence map
- const ::Color aColor(maBitmapEx.GetPixelColor(nY, nX));
+ const ::Color aColor(maBitmapEx.GetPixelColor(nX, nY));
rfOpacity = (static_cast<double>(0xff - aColor.GetLuminance()) * (1.0 / 255.0));
}
More information about the Libreoffice-commits
mailing list