From a5b775c638c5631acb16363e37ee9c49d8835d0b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Oct 2019 09:29:58 +0100 Subject: cid#1454629 silence bogus Arguments in wrong order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7dc06a2754eaa172f112f38a260240f8e2cc0983 Reviewed-on: https://gerrit.libreoffice.org/80345 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/window/printdlg.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/source') diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index c9ad27e2e7c1..76924240f575 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -628,11 +628,13 @@ PrintDialog::PrintDialog(weld::Window* i_pWindow, const std::shared_ptrgetPrinter()->GetOrientation() == Orientation::Landscape ) { maNupLandscapeSize = aNupSize; + // coverity[swapped_arguments : FALSE] - this is in the correct order maNupPortraitSize = Size( aNupSize.Height(), aNupSize.Width() ); } else { maNupPortraitSize = aNupSize; + // coverity[swapped_arguments : FALSE] - this is in the correct order maNupLandscapeSize = Size( aNupSize.Height(), aNupSize.Width() ); } -- cgit