Commit 31a2e0af authored by Pino Toscano's avatar Pino Toscano
Browse files

xps: use readFileOrDirectoryParts() also when creating a text page

just like it is done when rendering

CCBUG: 274482
parent 7e0cfa23
......@@ -1601,7 +1601,7 @@ Okular::TextPage* XpsPage::textPage()
const KZipFileEntry* pageFile = static_cast<const KZipFileEntry *>(m_file->xpsArchive()->directory()->entry( m_fileName ));
QXmlStreamReader xml;
xml.addData( pageFile->data() );
xml.addData( readFileOrDirectoryParts( pageFile ) );
QMatrix matrix = QMatrix();
QStack<QMatrix> matrices;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment