summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-22 21:47:33 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-23 09:19:37 +0200
commit82b7823cd83be3c31720c8a3b8eea33c22b312bc (patch)
treeb98151f74793b2d2ee192010df7192020aa3540b /vcl/source/gdi
parenta7de9cc5e89cd0d0c2f6363b2c0cc265c528b121 (diff)
cid#1555070 COPY_INSTEAD_OF_MOVE
and cid#1555069 COPY_INSTEAD_OF_MOVE cid#1555128 COPY_INSTEAD_OF_MOVE cid#1555131 COPY_INSTEAD_OF_MOVE cid#1555137 COPY_INSTEAD_OF_MOVE cid#1555142 COPY_INSTEAD_OF_MOVE cid#1555152 COPY_INSTEAD_OF_MOVE cid#1555154 COPY_INSTEAD_OF_MOVE cid#1555161 COPY_INSTEAD_OF_MOVE cid#1555163 COPY_INSTEAD_OF_MOVE Change-Id: I86a5b7049ac8f31ca703add11381f5293233d9d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170863 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/source/gdi')
-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 907094e33d0d..b9192aa6d854 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1205,7 +1205,7 @@ void Printer::SetPrinterSettingsPreferred( bool bPaperSizeFromSetup)
rData.SetPapersizeFromSetup(bPaperSizeFromSetup);
mbNewJobSetup = true;
- maJobSetup = aJobSetup;
+ maJobSetup = std::move(aJobSetup);
}
}