From 43635b474cdce65e64fa9ca9d27a3cee6d96d50b Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 4 Feb 2019 20:41:49 +0100 Subject: o3tl::make_unique -> std::make_unique in tools..xmloff Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: Ib3201f865d43f372007cdf381c7e244e9cbeae26 Reviewed-on: https://gerrit.libreoffice.org/67474 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- vcl/source/gdi/pdfwriter_impl.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vcl/source/gdi/pdfwriter_impl.cxx') diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 3afb4c509abf..cdcfdc00bd3b 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -42,7 +42,6 @@ #include #include #include -#include #include #include #include @@ -2090,8 +2089,8 @@ void PDFWriterImpl::beginCompression() { if (!g_bDebugDisableCompression) { - m_pCodec = o3tl::make_unique( 0x4000, 0x4000 ); - m_pMemStream = o3tl::make_unique(); + m_pCodec = std::make_unique( 0x4000, 0x4000 ); + m_pMemStream = std::make_unique(); m_pCodec->BeginCompression(); } } -- cgit