Re: [PATCH] Remove leftover cast of fResolutionDPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brett T. Warden kirjoitti 11.11.2020 klo 20.30:
When building with --disable-pdfium, compilation fails due to a
reference to fResolutionDPI, which is now only defined within the
#if HAVE_FEATURE_PDFIUM block, so unavailable in this #else block.

---
  vcl/source/filter/ipdf/pdfread.cxx | 1 -
  1 file changed, 1 deletion(-)

diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index 3066c4deba4a..93c88d64b799 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -218,7 +218,6 @@ size_t RenderPDFBitmaps(const void* pBuffer, int nSize, std::vector<Bitmap>& rBi
      (void)rBitmaps;
      (void)nFirstPage;
      (void)nPages;
-    (void)fResolutionDPI;
      return 0;
  #endif // HAVE_FEATURE_PDFIUM
  }


Can you submit this to our Gerrit?

https://wiki.documentfoundation.org/Development/gerrit/setup
https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch

You can also create it in the web interface directly: https://gerrit.libreoffice.org/Documentation/user-inline-edit.html

Ilmari
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux