| commit | 9383baa32182215e071a58dbbb950531b513a47d | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Fri Apr 03 14:59:10 2020 +0200 |
| committer | Michael Weghorn <m.weghorn@posteo.de> | Fri Apr 03 18:36:38 2020 +0200 |
| tree | f34d6a049eae3ac80b2591314c835aa44cb54a0e | |
| parent | 9c8aea3f8c3d30c02fba2af640b08e75833cc92d [diff] |
fix android/non-pdfium build
after
commit 101a9b4a3fcf1fd0a7163dac3a5dcd69431f4fee
Date: Fri Apr 3 09:36:41 2020 +0200
loplugin:constantparam
Change-Id: Ieabd64498961ddeabdf1d6f09db886c85d881c16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91633
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx index b6e4f89..386ede2 100644 --- a/vcl/source/filter/ipdf/pdfread.cxx +++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -117,11 +117,10 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream) return rOutStream.good(); } #else bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream, sal_uInt64 nPos, sal_uInt64 nSize) bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream) { rInStream.Seek(nPos); rOutStream.WriteStream(rInStream, nSize); rInStream.Seek(STREAM_SEEK_TO_BEGIN); rOutStream.WriteStream(rInStream, STREAM_SEEK_TO_END); return rOutStream.good(); } #endif // HAVE_FEATURE_PDFIUM