summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-17 18:00:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-18 10:01:25 +0100
commit08def65c78d2505b3602e1ac45440d342b2c17ad (patch)
treeaa8aaf0f35def86359e9c7f33b5b1df069edc689 /svx
parent0fc7daed227ea6fd4fb3de04c92ae6cb765122c3 (diff)
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpage.cxx1
1 files changed, 1 insertions, 0 deletions
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()));
}
}