[Libreoffice-commits] core.git: svx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 28 14:21:30 UTC 2018
svx/source/svdraw/svdpdf.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 45c753aff6468b9761e68bc0bf48ab161cd0cba6
Author: Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Fri Sep 28 12:30:01 2018 +0200
Commit: Miklos Vajna <vmiklos at 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 <vmiklos at 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");
More information about the Libreoffice-commits
mailing list