• Harald Sitter's avatar
    don't crash on nullptr pdfOptionsPage · 568f11b0
    Harald Sitter authored
    same as in fbeff5ae there may not be
    a pdfOptionsPage when using print preview.
    this fixes an exciting crash on our windows build when trying to print
    Test Plan: 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
    Reviewers: aacid
    Reviewed By: aacid
    Subscribers: okular-devel
    Tags: #okular
    Differential Revision: https://phabricator.kde.org/D24696
generator_pdf.cpp 74.1 KB