summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-17 17:59:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-17 20:25:25 +0100
commit25a6ed62682d8471e6605801205e2e56491f5929 (patch)
tree69b4b711e2b797b61a427bf3d0aa3bbc1cb483a5 /editeng
parent26960bad06fe26f5652faf42e20073bf7d201eeb (diff)
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx1
1 files changed, 1 insertions, 0 deletions
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;