summaryrefslogtreecommitdiff
path: root/vcl/source/filter/ipdf/pdfread.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-06 00:51:10 -0400
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-06 00:53:58 -0400
commitdfee8ca7095a293fc58877aa299aaaa4a789392c (patch)
tree271f4836f4e55a577174e880227dce9c9f0084d9 /vcl/source/filter/ipdf/pdfread.cxx
parent5c18e71776c56a034cd8fea677c29997a0c34400 (diff)
vcl: svx: misc improvements to pdfium importingprivate/Ashod/pdfium_on_master_fixed
Change-Id: I58f2fd973a731b148f40b37139cd74bac097a7d2
Diffstat (limited to 'vcl/source/filter/ipdf/pdfread.cxx')
-rw-r--r--vcl/source/filter/ipdf/pdfread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index 4ac2503ec665..d98c856c6704 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -60,7 +60,7 @@ inline double pointToPixel(const double fPoint, const double fResolutionDPI)
/// Does PDF to bitmap conversion using pdfium.
size_t generatePreview(SvStream& rStream, std::vector<Bitmap>& rBitmaps, sal_uInt64 nPos,
- sal_uInt64 nSize, const size_t nFirstPage = 0, int nPages = 1,
+ sal_uInt64 nSize, const size_t nFirstPage, int nPages,
const double fResolutionDPI = 96.)
{
FPDF_LIBRARY_CONFIG aConfig;
@@ -197,7 +197,7 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 n
}
#else
size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64 nPos, sal_uInt64 nSize,
- size_t nFirstPage = 0, int nLastPage = 0, const double fResolutionDPI = 96.)
+ size_t nFirstPage, int nLastPage, const double fResolutionDPI = 96.)
{
(void)rStream;
(void)rBitmap;
@@ -207,7 +207,7 @@ size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64 nPos, sal_uIn
(void)nLastPage;
(void)fResolutionDPI;
- return false;
+ return 0;
}
bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 nPos,