[PATCH] Remove leftover cast of fResolutionDPI

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

 



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
 }
-- 
2.29.2

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



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

  Powered by Linux