summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-01-05 21:02:46 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-01-06 08:58:39 +0100
commit8373d6b1dd1096d3ce1d1f1d3845b6061c365fab (patch)
treedab35e7eb41f8848503b8aeff497450cc92cc368 /vcl/qa
parent94d34e53ac9eb41cba96a56bf715d4b02794a12a (diff)
pdfium: add wrapper for FPDF_OBJECT_* defines
So that client code doesn't have to include fpdfview.h manually. Change-Id: I0cb9569f84e85953a308519ea89bed39fe4a1390 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108817 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/pdfexport/pdfexport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index 0236a6e73e5d..d8679081d348 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -36,8 +36,6 @@
#include <unotools/tempfile.hxx>
#include <vcl/filter/pdfdocument.hxx>
#include <tools/zcodec.hxx>
-#include <fpdf_annot.h>
-#include <fpdfview.h>
#include <vcl/graphicfilter.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <unotools/streamwrap.hxx>
@@ -2242,7 +2240,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testFormFontName)
// Examine the default appearance.
CPPUNIT_ASSERT(pAnnot->hasKey("DA"));
- CPPUNIT_ASSERT_EQUAL(FPDF_OBJECT_STRING, FPDFAnnot_GetValueType(pAnnot->getPointer(), "DA"));
+ CPPUNIT_ASSERT_EQUAL(vcl::pdf::PDFObjectType::String, pAnnot->getValueType("DA"));
OUString aDA = pAnnot->getString("DA");
// Without the accompanying fix in place, this test would have failed with: