[EPubGenerator] Avoid crashes due to bogus wrapping of content in table

Authored by bruns on May 22 2019, 9:49 PM.

Description

[EPubGenerator] Avoid crashes due to bogus wrapping of content in table

Summary:
QTextDocument chokes badly when a some documents are wrapped inside
a table, returning e.g. a pagecount of -41292 afterwards.

On the downside, this removes any padding from the page. On the upside,
it removes any padding from the page.

BUG: 406738
BUG: 407140
CCBUG: 406116

Reviewers: Okular

Subscribers: okular-devel

Tags: Okular

Differential Revision: https://phabricator.kde.org/D20949

Details

Committed
aacidMay 22 2019, 10:24 PM
Differential Revision
D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table
Parents
R223:d121461b5733: Revert "Fix build with poppler < 0.51"
Branches
Unknown
Tags
Unknown