diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-02 19:56:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-02 22:18:01 +0200 |
commit | 3e600bf0e99bcf9080937e8fba82ae2473d26664 (patch) | |
tree | 6e69b0582f37a9ed71337300599ecb5f1e96e7d3 /drawinglayer | |
parent | ea1279d7f7b3176f37515951782a51327f233591 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/texture/texture3d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |