<table><tr><td style="">sitter created this revision.<br />Herald added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24696">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>same as in <a href="https://phabricator.kde.org/R223:fbeff5ae7c2b27577d829839879b0966b5a3859a" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">fbeff5ae7c2b27577d829839879b0966b5a3859a</a> there may not be<br />
a pdfOptionsPage when using print preview.</p>
<p>this fixes an exciting crash on our windows build when trying to print<br />
preview</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>can't easily build on windows but the traceback definitely falls over 0x0000 on that line, so given context I am confident this fixes the crash</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>BRANCH</strong><div><div>Applications/19.08</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24696">https://phabricator.kde.org/D24696</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>generators/poppler/generator_pdf.cpp</div></div></div><br /><div><strong>To: </strong>sitter<br /><strong>Cc: </strong>okular-devel, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas, joaonetto, kezik, tfella, ngraham, darcyshen, aacid<br /></div>