[Libreoffice-commits] core.git: Branch 'feature/pdfium-master' - vcl/source

Jan Holesovsky kendy at collabora.com
Wed Jun 6 11:10:23 UTC 2018


 vcl/source/filter/ipdf/pdfread.cxx |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

New commits:
commit 40fe934f3cd8302728d3d9c8c6c0ed480505167c
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Jun 6 13:06:37 2018 +0200

    fixup! pdf: preserve the original page dimensions on import
    
    Change-Id: I9919b5f8c722bf75a16b6fea6b0525ed76bd2cfd

diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index d98c856c6704..3101056824ad 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -196,17 +196,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, int nLastPage, const double fResolutionDPI = 96.)
+size_t generatePreview(SvStream&, std::vector<Bitmap>&, sal_uInt64, sal_uInt64, size_t, int,
+                       const double)
 {
-    (void)rStream;
-    (void)rBitmap;
-    (void)nPos;
-    (void)nSize;
-    (void)nFirstPage;
-    (void)nLastPage;
-    (void)fResolutionDPI;
-
     return 0;
 }
 


More information about the Libreoffice-commits mailing list