summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-10-07 01:30:48 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-10-07 01:32:01 +0200
commit3e2f7e0ef4fbb61a0f3875ea10e72f985786c865 (patch)
treed99002da084a1012dc891b10916ad8ed0571e68d
parentd4e4c74829e5c966a0149104228d84be503dc72d (diff)
Fixups to build on c++11-only compilers
This is a follow-up to: - c258db7bea59bd536d71fd91c960d3bd9e1b4bb4 avoiding breakage on gcc48 for CentOS6 baseline (which has no full c++14 support yet) Change-Id: I5460bce0416e2e5c3fe5b7ab9ea0c6ffdb5da9f6
-rw-r--r--vcl/source/pdf/PDFiumLibrary.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/pdf/PDFiumLibrary.cxx b/vcl/source/pdf/PDFiumLibrary.cxx
index 330c473ac6dc..2bfa76e61559 100644
--- a/vcl/source/pdf/PDFiumLibrary.cxx
+++ b/vcl/source/pdf/PDFiumLibrary.cxx
@@ -9,6 +9,7 @@
*/
#include <config_features.h>
+#include <o3tl/make_unique.hxx>
#if HAVE_FEATURE_PDFIUM
@@ -52,7 +53,7 @@ std::unique_ptr<PDFiumPage> PDFiumDocument::openPage(int nIndex)
FPDF_PAGE pPage = FPDF_LoadPage(mpPdfDocument, nIndex);
if (pPage)
{
- pPDFiumPage = std::make_unique<PDFiumPage>(pPage);
+ pPDFiumPage = o3tl::make_unique<PDFiumPage>(pPage);
}
return pPDFiumPage;
}