summaryrefslogtreecommitdiff
path: root/xmlsecurity/workben/pdfverify.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-02-24 13:46:52 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-02-24 15:49:15 +0000
commit58eac1105f8504bd5320911fc6fe967ccaa3d469 (patch)
treea71f1ba78135b13bedf7a20924db1bd2df18a94e /xmlsecurity/workben/pdfverify.cxx
parent3cc3dc176e00062d8395d9f3d83b49ab24542a61 (diff)
vcl: add initial CppunitTest_vcl_pdfexport
Invoke the PDF export filter and then use the PDF tokenizer from xmlsecurity to assert the contents of created PDF file. The testcase fails with commit 6db0f1feb1d9931d2726dd11a889c58815710ce0 (tdf#106059 PDF export: create a reference XObject for PDF images, 2017-02-22) reverted. Change-Id: I90526fef41d9560ae447f586df766bc50a491c43 Reviewed-on: https://gerrit.libreoffice.org/34609 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmlsecurity/workben/pdfverify.cxx')
-rw-r--r--xmlsecurity/workben/pdfverify.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmlsecurity/workben/pdfverify.cxx b/xmlsecurity/workben/pdfverify.cxx
index d481d15e0472..5e19601ea284 100644
--- a/xmlsecurity/workben/pdfverify.cxx
+++ b/xmlsecurity/workben/pdfverify.cxx
@@ -31,7 +31,9 @@
#include <vcl/pngwrite.hxx>
#include <vcl/svapp.hxx>
-#include <pdfio/pdfdocument.hxx>
+#include <xmlsecurity/pdfio/pdfdocument.hxx>
+
+#include <sigstruct.hxx>
using namespace com::sun::star;