update patch for libreoffice preview in pdfviewer