diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-28 16:14:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-28 15:52:49 +0000 |
commit | 30608c66374f8effa9d534f7f9a22d41daa9770f (patch) | |
tree | 9298896890717507fe01cdaf4545775d5b1010ca /include/vcl/filter | |
parent | First steps to round-trip xlExternalLinkPath/xlPathMissing things (diff) | |
download | core-30608c66374f8effa9d534f7f9a22d41daa9770f.tar.gz core-30608c66374f8effa9d534f7f9a22d41daa9770f.zip |
tdf#106693 vcl PDF export, norefxobj: handle multiple refs in copied arrays
Also fix confusion about dictionaries in arrays and arrays in
dictionaries.
Change-Id: I0d71d5796b1eb4f89e3fd9a5b1f807d2a7340a35
Reviewed-on: https://gerrit.libreoffice.org/35806
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/vcl/filter')
-rw-r--r-- | include/vcl/filter/pdfdocument.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx index d6b44e88d027..4bed3c32737a 100644 --- a/include/vcl/filter/pdfdocument.hxx +++ b/include/vcl/filter/pdfdocument.hxx @@ -109,8 +109,10 @@ class VCL_DLLPUBLIC PDFArrayElement : public PDFElement /// Location after the '[' token. sal_uInt64 m_nOffset = 0; std::vector<PDFElement*> m_aElements; + /// The object that contains this array. + PDFObjectElement* m_pObject; public: - PDFArrayElement(); + PDFArrayElement(PDFObjectElement* pObject); bool Read(SvStream& rStream) override; void PushBack(PDFElement* pElement); const std::vector<PDFElement*>& GetElements(); |