[Libreoffice-commits] core.git: vcl/backendtest
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 8 15:11:54 UTC 2021
vcl/backendtest/outputdevice/common.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit c7a708f8c38f47b8c0f74c87b2cb3889cafd4473
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 8 12:53:36 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Aug 8 17:11:20 2021 +0200
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 at redhat.com>
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);
More information about the Libreoffice-commits
mailing list