[PATCH] Remove leftover cast of fResolutionDPI

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Wed Nov 11 18:34:10 UTC 2020


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


More information about the LibreOffice mailing list