diff options
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/pdfexport/pdfexport.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx index eaf905986928..7af85573be40 100644 --- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx +++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx @@ -1503,8 +1503,8 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf128630) std::unique_ptr<vcl::pdf::PDFiumBitmap> pBitmap = pPageObject->getImageBitmap(); CPPUNIT_ASSERT(pBitmap); - int nWidth = FPDFBitmap_GetWidth(pBitmap->getPointer()); - int nHeight = FPDFBitmap_GetHeight(pBitmap->getPointer()); + int nWidth = pBitmap->getWidth(); + int nHeight = pBitmap->getHeight(); // Without the accompanying fix in place, this test would have failed with: // assertion failed // - Expression: nWidth != nHeight @@ -1845,8 +1845,8 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testReduceSmallImage) // Make sure we don't scale down a tiny bitmap. std::unique_ptr<vcl::pdf::PDFiumBitmap> pBitmap = pPageObject->getImageBitmap(); CPPUNIT_ASSERT(pBitmap); - int nWidth = FPDFBitmap_GetWidth(pBitmap->getPointer()); - int nHeight = FPDFBitmap_GetHeight(pBitmap->getPointer()); + int nWidth = pBitmap->getWidth(); + int nHeight = pBitmap->getHeight(); // Without the accompanying fix in place, this test would have failed with: // - Expected: 16 // - Actual : 6 @@ -1900,8 +1900,8 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testReduceImage) // Make sure we don't scale down a bitmap. std::unique_ptr<vcl::pdf::PDFiumBitmap> pBitmap = pPageObject->getImageBitmap(); CPPUNIT_ASSERT(pBitmap); - int nWidth = FPDFBitmap_GetWidth(pBitmap->getPointer()); - int nHeight = FPDFBitmap_GetHeight(pBitmap->getPointer()); + int nWidth = pBitmap->getWidth(); + int nHeight = pBitmap->getHeight(); // Without the accompanying fix in place, this test would have failed with: // - Expected: 160 // - Actual : 6 |