summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-11 19:41:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-11 22:09:26 +0200
commita26351a17cd79bc7776d868b1d0eb14b6c6647d6 (patch)
treea9cb43173465f9cf6acde0a8da928c47825e9499 /editeng
parent629cdd66b5552a0159f8b06a563b1505eded01cd (diff)
cid#1465259 silence Arguments in wrong order
Change-Id: I67e82a3ec9128a486ef882f803c900b7c94a4529 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98573 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-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 07901c0bd8e9..ad32674b4140 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -147,6 +147,7 @@ tools::Rectangle LOKSpecialPositioning::GetWindowPos(const tools::Rectangle& rDo
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;