svx/source/svdraw/svdpdf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 45c753aff6468b9761e68bc0bf48ab161cd0cba6
Author:     Miklos Vajna <vmik...@collabora.co.uk>
AuthorDate: Fri Sep 28 12:30:01 2018 +0200
Commit:     Miklos Vajna <vmik...@collabora.co.uk>
CommitDate: Fri Sep 28 16:21:04 2018 +0200

    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 <vmik...@collabora.co.uk>
    Tested-by: Jenkins

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");
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to