summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-04 17:05:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-04 17:05:31 +0200
commitd1a332065a94cb7a503209a817515295ac98c7b1 (patch)
tree05645482b191addb372ec850360f6d726aa40a2b /vcl
parent8e49269f794f6eae193fa9af8846a470baab0c1b (diff)
loplugin:casttovoid, loplugin:implicitboolconversion (--disable-pdfium)
Change-Id: Id315d8f1ae0ea8f50827c2bcbb7dfd4c53b55b6d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/ipdf/pdfread.cxx9
1 files changed, 2 insertions, 7 deletions
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,