[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Nov 17 21:19:36 UTC 2019
sc/source/ui/docshell/docsh3.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 959dab6e0642ae7760c3bf4ff2d8bccbbe4dad14
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Nov 17 18:03:14 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Nov 17 22:18:41 2019 +0100
cid#1430084 Arguments in wrong order
add an annotation
Change-Id: Id3b90eae8a2306cfb7f0f46b3fd73e320c851f6a
Reviewed-on: https://gerrit.libreoffice.org/83029
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 3655e0399cb4..33133e33a9e4 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -545,6 +545,7 @@ sal_uInt16 ScDocShell::SetPrinter( VclPtr<SfxPrinter> const & pNewPrinter, SfxPr
// flip size
Size aOldSize = rSet.Get(ATTR_PAGE_SIZE).GetSize();
+ // coverity[swapped_arguments : FALSE] - this is in the correct order
Size aNewSize(aOldSize.Height(),aOldSize.Width());
SvxSizeItem aNewSItem(ATTR_PAGE_SIZE,aNewSize);
rSet.Put( aNewSItem );
More information about the Libreoffice-commits
mailing list