[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Wed Apr 4 15:09:50 UTC 2018
vcl/source/filter/ipdf/pdfread.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 480309b6a7f4ed182f005be70de436ae2fbcd1a7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 4 17:09:22 2018 +0200
Remove unused default arguments
Change-Id: I7c0a0d2410fb418e3ea33f976ebff47cd4371dc3
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index 8c993380f549..2eab3e887d6c 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -57,7 +57,7 @@ double pointToPixel(double fPoint) { return fPoint / 72 * 96; }
/// 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)
{
FPDF_LIBRARY_CONFIG aConfig;
aConfig.version = 2;
@@ -192,7 +192,7 @@ 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 = 0, int = 0)
+size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64, sal_uInt64, size_t, int)
{
return 0;
}
More information about the Libreoffice-commits
mailing list