diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-07 09:29:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-07 16:51:26 +0200 |
commit | a5b775c638c5631acb16363e37ee9c49d8835d0b (patch) | |
tree | 799d246efb8cd6e4c616d48e68cdef4de303fcf6 /vcl/source | |
parent | ed200d9f2586b714718aaa7319ea68cf480261ad (diff) |
cid#1454629 silence bogus Arguments in wrong order
Change-Id: I7dc06a2754eaa172f112f38a260240f8e2cc0983
Reviewed-on: https://gerrit.libreoffice.org/80345
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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_ptr<PrinterC if( maPController->getPrinter()->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() ); } |