editeng/source/editeng/impedit.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 25a6ed62682d8471e6605801205e2e56491f5929 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Nov 17 17:59:28 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Nov 17 20:25:25 2019 +0100 cid#1430104 Arguments in wrong order add an annotation Change-Id: I2e9356fa1d56e579336f1fb7346112edf576232f Reviewed-on: https://gerrit.libreoffice.org/83026 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 5006cd620d18..98cc989ef6b9 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -630,6 +630,7 @@ tools::Rectangle ImpEditView::GetWindowPos( const tools::Rectangle& rDocRect ) c else { Point aNewPos( aPos.X()-aSz.Height(), aPos.Y() ); + // coverity[swapped_arguments : FALSE] - this is in the correct order aRect = tools::Rectangle( aNewPos, Size( aSz.Height(), aSz.Width() ) ); } return aRect; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits