[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 18 09:02:27 UTC 2019
svx/source/svdraw/svdpage.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 08def65c78d2505b3602e1ac45440d342b2c17ad
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Nov 17 18:00:36 2019 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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()));
}
}
More information about the Libreoffice-commits
mailing list