summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-25 14:09:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-25 14:09:06 +0100
commitc6bc45880c73be300b1c2604546a67941cbbe7c6 (patch)
tree0438a8394fae15d330dde45da126eec93e95cce6 /xmlsecurity
parent0ddcff205399692cadf46c26bfe3a52165762a32 (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
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/pdfio/pdfdocument.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx
index e2f2913e863c..acf873c7ebd2 100644
--- a/xmlsecurity/inc/pdfio/pdfdocument.hxx
+++ b/xmlsecurity/inc/pdfio/pdfdocument.hxx
@@ -35,7 +35,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;