[Libreoffice-commits] core.git: vcl/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 3 16:37:18 UTC 2020
vcl/source/filter/ipdf/pdfread.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 9383baa32182215e071a58dbbb950531b513a47d
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Apr 3 14:59:10 2020 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Fri Apr 3 18:36:38 2020 +0200
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 at posteo.de>
Tested-by: Jenkins
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index b6e4f8936d8c..386ede2d0f42 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
More information about the Libreoffice-commits
mailing list