[Libreoffice-commits] core.git: filter/source
Xisco Fauli
xiscofauli at libreoffice.org
Fri Apr 13 07:31:32 UTC 2018
filter/source/pdf/impdialog.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 63f6a1970868b3f8e5bc612f405d24ac9445ccea
Author: Xisco Fauli <xiscofauli at libreoffice.org>
Date: Wed Apr 11 16:42:05 2018 +0200
tdf#116874: Don't sign with watermark if the checkbox is disabled
Change-Id: I354b0c3f0d6d29d91c1d7fa9678c4ce0bd7c8c1a
Reviewed-on: https://gerrit.libreoffice.org/52732
Tested-by: Jenkins <ci 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 8f10bc871420..90a79968ada6 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -727,7 +727,8 @@ void ImpPDFTabGeneralPage::GetFilterConfigItem( ImpPDFTabDialog* paParent )
paParent->mbExportFormFields = mpCbExportFormFields->IsChecked();
}
- paParent->maWatermarkText = mpEdWatermark->GetText();
+ if( mpCbWatermark->IsChecked() )
+ paParent->maWatermarkText = mpEdWatermark->GetText();
/*
* FIXME: the entries are only implicitly defined by the resource file. Should there
More information about the Libreoffice-commits
mailing list