[PATCH] Remove leftover cast of fResolutionDPI
Brett T. Warden
brett.t.warden at intel.com
Wed Nov 11 18:30:57 UTC 2020
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
More information about the LibreOffice
mailing list