diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-08 12:53:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-08 17:11:20 +0200 |
commit | c7a708f8c38f47b8c0f74c87b2cb3889cafd4473 (patch) | |
tree | 6bea3b75cdbeec508cf7869830573acf543e531e /vcl/backendtest | |
parent | 9104017e1bf76857d2b9686363013e1e7c49e355 (diff) |
cid#1489971 silence Arguments in wrong order
Change-Id: Ib4bb02a152443ba83b5019ea618265a9363363a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120173
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/backendtest')
-rw-r--r-- | vcl/backendtest/outputdevice/common.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/backendtest/outputdevice/common.cxx b/vcl/backendtest/outputdevice/common.cxx index 1675d5947d56..65507abe018a 100644 --- a/vcl/backendtest/outputdevice/common.cxx +++ b/vcl/backendtest/outputdevice/common.cxx @@ -609,7 +609,10 @@ TestResult OutputDeviceTestCommon::checkDropShape(Bitmap& rBitmap, bool aEnableA if (SetPixels[{ x, y }]) { if (aEnableAA) - checkValueAA(pAccess, y, x, constLineColor, nNumberOfQuirks, nNumberOfErrors); + { + // coverity[swapped_arguments : FALSE] - this is in the correct order + checkValueAA(pAccess, y, x, constLineColor, nNumberOfQuirks, nNumberOfErrors); + } else checkValue(pAccess, y, x, constLineColor, nNumberOfQuirks, nNumberOfErrors, true); |