diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-25 14:09:06 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-30 16:13:45 +0200 |
commit | f52417d6478f3bf593e2ad160da2d0dd6e2693ec (patch) | |
tree | ea41bf8df9cd3739669f3140064a0f489b617b0e /include/xmlsecurity | |
parent | 74bf09b483376195f984839b336d4349e33b5bf7 (diff) |
Make sure there's a single global RTTI for pdfio::PDFElement and derived
...as otherwise dynamic_cast<xmlsecurity::pdfio::PDFNameElement*>(...) in
xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx will fail at least on macOS,
causing CppunitTest_xmlsecurity_pdfsigning to fail.
Change-Id: I7c41c994a1e6145b4740a97ffe47d0c42c4e3ca0
(cherry picked from commit c6bc45880c73be300b1c2604546a67941cbbe7c6)
Diffstat (limited to 'include/xmlsecurity')
-rw-r--r-- | include/xmlsecurity/pdfio/pdfdocument.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmlsecurity/pdfio/pdfdocument.hxx b/include/xmlsecurity/pdfio/pdfdocument.hxx index c2ba05002037..f5179fd4af6d 100644 --- a/include/xmlsecurity/pdfio/pdfdocument.hxx +++ b/include/xmlsecurity/pdfio/pdfdocument.hxx @@ -36,7 +36,7 @@ class PDFArrayElement; class PDFStreamElement; /// A byte range in a PDF file. -class PDFElement +class XMLSECURITY_DLLPUBLIC PDFElement { public: virtual bool Read(SvStream& rStream) = 0; |