summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-03-13 21:07:17 -0400
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-04 12:36:28 -0400
commit498b14d8a8f4b51b137d03c4fb5c6f8c2747e7cd (patch)
treeb2ab9fa711d669a618ed9516290fbb79a9474166
parentvcl: refresh font cache only on real change (diff)
downloadcore-498b14d8a8f4b51b137d03c4fb5c6f8c2747e7cd.tar.gz
core-498b14d8a8f4b51b137d03c4fb5c6f8c2747e7cd.zip
vcl: support rendering multiple PDF pages to bitmap
Reviewed-on: https://gerrit.libreoffice.org/51255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit d7c0cc3908a7624aa159549ab1561b511d6fae28) Change-Id: Id42ecabcad90dde84475a01e5df4ed94f221f5ce
-rw-r--r--vcl/source/filter/ipdf/pdfread.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index e3fe26332e2f..b37b6339155e 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -191,8 +191,14 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 n
return rOutStream.good();
}
#else
-size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64, sal_uInt64, size_t, int)
+size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64 nPos, sal_uInt64 nSize,
+ size_t nFirstPage = 0, int nLastPage = 0)
{
+ (void)rStream;
+ (void)rBitmap;
+ (void)nPos;
+ (void)nSize;
+
return 0;
}