summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-02-10 16:48:43 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-02-10 20:19:46 +0100
commitedab3a9fd243c238f840db84af31c39c3617eb8c (patch)
tree062ebdf829905702bea72e4302002b129a6bd17e /vcl/source
parenta2dd71feb75d93adf0f0daac899e7476f961ec34 (diff)
cid#1591787 silence Arguments in wrong order
Change-Id: Iee6dba0a127a126bc47dcb5c98efa86274d79340 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163216 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/printdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 66cadb91d18a..5b80ca57fa69 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1033,6 +1033,7 @@ void PrintDialog::updatePageSize(int nOrientation)
if ((nOrientation == ORIENTATION_PORTRAIT && aSize.Width() > aSize.Height())
|| (nOrientation == ORIENTATION_LANDSCAPE && aSize.Width() < aSize.Height()))
{
+ // coverity[swapped_arguments : FALSE] - this is in the intended order
aSize = Size(aSize.Height(), aSize.Width());
}
}