lok: hide 'View PDF after export' checkbox in PDF export dialog

Change-Id: I866e4765ba88ca6c93375c9fecd51f22b79ce72e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144535
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Andras Timar 2022-12-14 20:33:18 +01:00
parent 35d8b4c362
commit 241cd824fd

View File

@ -632,7 +632,15 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem(ImpPDFTabDialog* pParent)
mxCbExportNotes->set_active( pParent->mbExportNotes );
mxCbExportNotesInMargin->set_active( pParent->mbExportNotesInMargin );
if (comphelper::LibreOfficeKit::isActive())
{
mxCbViewPDF->hide();
mxCbViewPDF->set_active(false);
}
else
{
mxCbViewPDF->set_active(pParent->mbViewPDF);
}
if ( mbIsPresentation )
{