summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/print.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r--vcl/source/gdi/print.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index b9192aa6d854..502c2d0aa3f6 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1172,7 +1172,7 @@ bool Printer::SetPaperBin( sal_uInt16 nPaperBin )
{
ImplUpdateJobSetupPaper( aJobSetup );
mbNewJobSetup = true;
- maJobSetup = aJobSetup;
+ maJobSetup = std::move(aJobSetup);
ImplUpdatePageData();
ImplUpdateFontList();
return true;