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-30 16:59:06 +0200 |
commit | 7bf1b20b8e890b66ae878a56661b04d77801b17d (patch) | |
tree | 243c6603c47a26d5c7cf1e4987e0705a172b630b /include | |
parent | a4c24675a14d324e9103f36300c099f25c2fdc21 (diff) |
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>
(cherry picked from commit 30608c66374f8effa9d534f7f9a22d41daa9770f)
Diffstat (limited to 'include')
-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(); |