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