diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-03-03 13:10:49 -0500 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2018-03-21 01:57:28 +0100 |
commit | ac6e6753bd3b94df1780b011efae829964262587 (patch) | |
tree | 4290c00d5b335ff4f393761c9261172d4ff4fb2c /vcl | |
parent | 3b3e203461441da733096be323641a8dc07ff24f (diff) |
pdf: refactor poppler importer
This paves the way to add pdf
parsing via pdfium.
Change-Id: I384687bcdce3011682ebeec18ee3de44759feb1a
Reviewed-on: https://gerrit.libreoffice.org/51254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/ipdf/pdfread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx index 5597e851c6ea..4bdca2f02783 100644 --- a/vcl/source/filter/ipdf/pdfread.cxx +++ b/vcl/source/filter/ipdf/pdfread.cxx @@ -228,7 +228,7 @@ bool ImportPDF(SvStream& rStream, Graphic& rGraphic) { uno::Sequence<sal_Int8> aPdfData; Bitmap aBitmap; - bool bRet = ImportPDF(rStream, aBitmap, aPdfData); + const bool bRet = ImportPDF(rStream, aBitmap, aPdfData); rGraphic = aBitmap; rGraphic.setPdfData(aPdfData); return bRet; |