[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - vcl/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 26 15:44:41 UTC 2019
vcl/source/filter/ipdf/pdfread.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 77a735be8a2196e890e88662fe73816fa44dd023
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Mar 26 17:22:38 2019 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Mar 26 17:39:34 2019 +0200
Fix build in !HAVE_FEATURE_PDFIUM case
Change-Id: I99baba8734b9e03d3986e448bf278587101d24ef
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index 16cb902e2476..f73dc5736fbf 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -155,6 +155,8 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream,
namespace vcl
{
+#if HAVE_FEATURE_PDFIUM
+
size_t RenderPDFBitmaps(const void* pBuffer, int nSize, std::vector<Bitmap>& rBitmaps,
const size_t nFirstPage, int nPages,
const double fResolutionDPI)
@@ -218,6 +220,8 @@ size_t RenderPDFBitmaps(const void* pBuffer, int nSize, std::vector<Bitmap>& rBi
return rBitmaps.size();
}
+#endif // HAVE_FEATURE_PDFIUM
+
bool ImportPDF(SvStream& rStream, Bitmap& rBitmap,
size_t nPageIndex,
css::uno::Sequence<sal_Int8>& rPdfData,
More information about the Libreoffice-commits
mailing list