summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-21 11:22:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-21 18:51:01 +0100
commit725b5863832ef712d05b3cd49b77d447d84b80bb (patch)
tree23ce2376ed31f9f1fe9ae57873700693c56b386f /sdext/source/pdfimport/inc
parent441d38ea26a951f13e883789c74b17a607d81205 (diff)
use unique_ptr in sdext
Change-Id: I8362cf42dd6a838752b25a4b184da614eb81805e Reviewed-on: https://gerrit.libreoffice.org/65532 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/inc')
-rw-r--r--sdext/source/pdfimport/inc/pdfparse.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/inc/pdfparse.hxx b/sdext/source/pdfimport/inc/pdfparse.hxx
index e5d9dcc9bef0..e8fcd77f7863 100644
--- a/sdext/source/pdfimport/inc/pdfparse.hxx
+++ b/sdext/source/pdfimport/inc/pdfparse.hxx
@@ -191,7 +191,7 @@ struct PDFDict : public PDFContainer
// inserting a value of NULL will remove rName and the previous value
// from the dictionary
- void insertValue( const OString& rName, PDFEntry* pValue );
+ void insertValue( const OString& rName, std::unique_ptr<PDFEntry> pValue );
// removes a name/value pair from the dict
void eraseValue( const OString& rName );
// builds new map as of sub elements