summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-09-28 12:30:01 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-09-28 16:21:04 +0200
commit45c753aff6468b9761e68bc0bf48ab161cd0cba6 (patch)
treebfc878b1ddb8366aceaca0cf1ded70385c9e2e0b /svx
parentb2e7956c6ce350eeaa1e4ea79909afd8480ee242 (diff)
svx: pdfium's FPDFImageObj_GetBitmapBgra() is not needed after all
Given that we do check for the different formats just below anyway. Thanks Ashod Nakashian for pointing this out! Change-Id: Ie481f6f3fa66ee182668bd6ea7171da2a04cca9d Reviewed-on: https://gerrit.libreoffice.org/61078 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpdf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index d80932c92076..8f859672c336 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -986,7 +986,7 @@ void ImpSdrPdfImport::MapScaling()
void ImpSdrPdfImport::ImportImage(FPDF_PAGEOBJECT pPageObject, int /*nPageObjectIndex*/)
{
std::unique_ptr<std::remove_pointer<FPDF_BITMAP>::type, FPDFBitmapDeleter> bitmap(
- FPDFImageObj_GetBitmapBgra(pPageObject));
+ FPDFImageObj_GetBitmap(pPageObject));
if (!bitmap)
{
SAL_WARN("sd.filter", "Failed to get IMAGE");