drawinglayer/source/texture/texture3d.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3e600bf0e99bcf9080937e8fba82ae2473d26664
Author: Caolán McNamara <caol...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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));
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to