summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/filter/ipdf/pdfdocument.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/filter/ipdf/pdfdocument.cxx b/vcl/source/filter/ipdf/pdfdocument.cxx
index dac68d5344af..b5fbc757da57 100644
--- a/vcl/source/filter/ipdf/pdfdocument.cxx
+++ b/vcl/source/filter/ipdf/pdfdocument.cxx
@@ -1427,6 +1427,7 @@ bool PDFDocument::Read(SvStream& rStream)
nStartXRef = pPrev->GetValue();
// Reset state, except the edit buffer.
+ m_aOffsetTrailers.clear(); // contents are lifecycle managed by m_aElements
m_aElements.clear();
m_aOffsetObjects.clear();
m_aIDObjects.clear();