diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-01-14 21:34:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-15 12:21:31 +0100 |
commit | 1cb70721ba00dd6c6958f0a10e39aa5c1866ec96 (patch) | |
tree | 91492d2689fc3e599024fd5aaa6d99c01aef0593 /vcl/qa/cppunit | |
parent | 891e89004b227326b6fae4c4a2a90dce741dc7aa (diff) |
external: update pdfium to 4021
Change-Id: I1c3280e811bf65641bf559e3f01bc62e609548f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86811
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r-- | vcl/qa/cppunit/pdfexport/pdfexport.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx index d6ab844e5bdb..80d88a84adf1 100644 --- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx +++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx @@ -1923,14 +1923,9 @@ void PdfExportTest::testPdfImageResourceInlineXObjectRef() CPPUNIT_ASSERT_EQUAL(1, FPDFFormObj_CountObjects(pInnerFormObject)); FPDF_PAGEOBJECT pImage = FPDFFormObj_GetObject(pInnerFormObject, 0); CPPUNIT_ASSERT_EQUAL(FPDF_PAGEOBJ_IMAGE, FPDFPageObj_GetType(pImage)); - double fA = 0; - double fB = 0; - double fC = 0; - double fD = 0; - double fE = 0; - double fF = 0; - FPDFFormObj_GetMatrix(pInnerFormObject, &fA, &fB, &fC, &fD, &fE, &fF); - basegfx::B2DHomMatrix aMat{ fA, fC, fE, fB, fD, fF }; + FS_MATRIX aMatrix; + FPDFFormObj_GetMatrix(pInnerFormObject, &aMatrix); + basegfx::B2DHomMatrix aMat{ aMatrix.a, aMatrix.c, aMatrix.e, aMatrix.b, aMatrix.d, aMatrix.f }; basegfx::B2DTuple aScale; basegfx::B2DTuple aTranslate; double fRotate = 0; |