[Libreoffice-commits] core.git: xmlsecurity/inc
Stephan Bergmann
sbergman at redhat.com
Fri Nov 25 13:11:07 UTC 2016
xmlsecurity/inc/pdfio/pdfdocument.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c6bc45880c73be300b1c2604546a67941cbbe7c6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 25 14:09:06 2016 +0100
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
diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx
index e2f2913..acf873c 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;
More information about the Libreoffice-commits
mailing list