vcl/source/filter/ipdf/pdfread.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
New commits: commit d1a332065a94cb7a503209a817515295ac98c7b1 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Apr 4 17:05:31 2018 +0200 loplugin:casttovoid, loplugin:implicitboolconversion (--disable-pdfium) Change-Id: Id315d8f1ae0ea8f50827c2bcbb7dfd4c53b55b6d diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx index 7f31e0ac15de..8c993380f549 100644 --- a/vcl/source/filter/ipdf/pdfread.cxx +++ b/vcl/source/filter/ipdf/pdfread.cxx @@ -192,14 +192,9 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 n return rOutStream.good(); } #else -size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64 nPos, sal_uInt64 nSize, - size_t nFirstPage = 0, int nLastPage = 0) +size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64, sal_uInt64, size_t = 0, int = 0) { - (void)nPos; - (void)nSize; - (void)nFirstPage; - (void)nLastPage; - return false; + return 0; } bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 nPos, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits