Kaydet (Commit) 215b8c1c authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Jan Holesovsky

Fix build in !HAVE_FEATURE_PDFIUM case

Change-Id: I99baba8734b9e03d3986e448bf278587101d24ef
üst 36075c6d
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment