sc/source/ui/docshell/docsh3.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 959dab6e0642ae7760c3bf4ff2d8bccbbe4dad14 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Nov 17 18:03:14 2019 +0000 Commit: Caolán McNamara <caol...@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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits