summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/wrapper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-18 09:25:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-18 13:46:27 +0000
commit335704695d15f53518a614060e60821c8e1cf279 (patch)
treef2dada4f16f9daf0163c70e6cb519acb71f70a3c /sdext/source/pdfimport/wrapper
parent5db6ec77d851b2aa9f22a735d1d2a9a5465759cc (diff)
boost->std
Change-Id: I21ca18c23277423d106d990fd537d58108bd1084 Reviewed-on: https://gerrit.libreoffice.org/18679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sdext/source/pdfimport/wrapper')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index 93eb2daa5510..4621be14b69e 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -60,7 +60,7 @@
#include <vcl/font.hxx>
#include <vcl/virdev.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
#include <unordered_map>
#include <string.h>
#ifdef WNT
@@ -919,7 +919,7 @@ static bool checkEncryption( const OUString& i_rPa
aPDFFile = OUStringToOString( i_rPath, osl_getThreadTextEncoding() );
pdfparse::PDFReader aParser;
- boost::scoped_ptr<pdfparse::PDFEntry> pEntry( pdfparse::PDFReader::read( aPDFFile.getStr() ));
+ std::unique_ptr<pdfparse::PDFEntry> pEntry( pdfparse::PDFReader::read( aPDFFile.getStr() ));
if( pEntry )
{
pdfparse::PDFFile* pPDFFile = dynamic_cast<pdfparse::PDFFile*>(pEntry.get());