summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}
}