summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-10-22 10:59:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-22 12:15:58 +0200
commit61bddaff3380f7700f58a41adedf8befd34d4d91 (patch)
treea74c463830350fcc3f50fd49b75ec39d9c247b20 /vcl/unx/generic/print
parent5807952ef7bc9252eca7fa11a16454af59576a12 (diff)
Fix wrong use of emplace/emplace_back
after these patches: https://cgit.freedesktop.org/libreoffice/core/commit/?id=ea6858c1e388c2d17a0825f3d21353ded67083eb https://cgit.freedesktop.org/libreoffice/core/commit/?id=118a0a3734a3f794c67a9d7d4376d8ed78a96fee https://cgit.freedesktop.org/libreoffice/core/commit/?id=c16804de78b1cf1ad906eaacbcc7c51d35218d8a Change-Id: I287d64d3aef6cf18fbf20602680ae9ead0ab26e5 Reviewed-on: https://gerrit.libreoffice.org/43687 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/print')
-rw-r--r--vcl/unx/generic/print/printerjob.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/print/printerjob.cxx b/vcl/unx/generic/print/printerjob.cxx
index c3005fca8de7..e4b3f8912253 100644
--- a/vcl/unx/generic/print/printerjob.cxx
+++ b/vcl/unx/generic/print/printerjob.cxx
@@ -576,8 +576,8 @@ PrinterJob::StartPage (const JobData& rJobSetup)
osl::File* pPageHeader = CreateSpoolFile ( "psp_pghead", aExt);
osl::File* pPageBody = CreateSpoolFile ( "psp_pgbody", aExt);
- maHeaderVector.emplace_back (pPageHeader);
- maPageVector.emplace_back (pPageBody);
+ maHeaderVector.push_back (pPageHeader);
+ maPageVector.push_back (pPageBody);
if( ! (pPageHeader && pPageBody) )
return;