[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - filter/source

Jan-Marek Glogowski (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 12 16:01:13 UTC 2019


 filter/source/pdf/impdialog.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 75406122dd7f6896d003aff46decb78bb40f2fa8
Author:     Jan-Marek Glogowski <jan-marek.glogowski at extern.cib.de>
AuthorDate: Wed Dec 11 19:14:31 2019 +0100
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Thu Dec 12 17:00:16 2019 +0100

    tdf#127493 store ExportFormFields checkbox value
    
    ... and also correctly set the initial frames sensitivity.
    
    The commit removed the no longer needed UserSelection variant of
    mbExportFormFields but forgit to actually set it now.
    
    Regression from my commit 76fcd878da1624e73f1eb9d9405485d4faf66edf.
    
    Change-Id: Ia5fcc1c37e2e4b4a330b59a492f817d2db8d7347
    Reviewed-on: https://gerrit.libreoffice.org/84975
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit b06cba8f13e0b71346cb884cf827751f2086fd8e)
    Reviewed-on: https://gerrit.libreoffice.org/85037
    Tested-by: Xisco Faulí <xiscofauli at libreoffice.org>
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index e19df5f9e0d7..bbb6c9973bb3 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -567,6 +567,7 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem(ImpPDFTabDialog* pParent)
 
     mxLbFormsFormat->set_active(static_cast<sal_uInt16>(pParent->mnFormsType));
     mxCbAllowDuplicateFieldNames->set_active( pParent->mbAllowDuplicateFieldNames );
+    mxFormsFrame->set_sensitive(pParent->mbExportFormFields);
 
     mxCbExportBookmarks->set_active( pParent->mbExportBookmarks );
 
@@ -670,6 +671,7 @@ void ImpPDFTabGeneralPage::GetFilterConfigItem( ImpPDFTabDialog* pParent )
     else
         mbUseTaggedPDFUserSelection = pParent->mbUseTaggedPDF;
     pParent->mbUseTaggedPDFUserSelection = mbUseTaggedPDFUserSelection;
+    pParent->mbExportFormFields = mxCbExportFormFields->get_active();
 
     if( mxCbWatermark->get_active() )
         pParent->maWatermarkText = mxEdWatermark->get_text();


More information about the Libreoffice-commits mailing list