svx/source/svdraw/svdpage.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 08def65c78d2505b3602e1ac45440d342b2c17ad Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Nov 17 18:00:36 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Nov 18 10:01:25 2019 +0100
cid#1430094 Arguments in wrong order add an annotation here Change-Id: If28f6494e80df0ea38036196ed152e9dee29339f Reviewed-on: https://gerrit.libreoffice.org/83027 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 6fe5f085b25a..c93d70627f3a 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -1399,6 +1399,7 @@ void SdrPage::SetOrientation(Orientation eOri) Size aSiz(GetSize()); if (aSiz.Width()!=aSiz.Height()) { if ((eOri==Orientation::Portrait) == (aSiz.Width()>aSiz.Height())) { + // coverity[swapped_arguments : FALSE] - this is in the correct order SetSize(Size(aSiz.Height(),aSiz.Width())); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits