poppler/Form.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 9fc5ed2176da68442927127bea8c427800eb244c Author: Hans-Ulrich Jüttner <[email protected]> Date: Wed Jun 14 23:19:48 2017 +0200 FormFieldButton::setState() should check the field isn't readOnly Bug #101419 diff --git a/poppler/Form.cc b/poppler/Form.cc index ced3140c..4627a432 100644 --- a/poppler/Form.cc +++ b/poppler/Form.cc @@ -17,6 +17,7 @@ // Copyright 2012 Fabio D'Urso <[email protected]> // Copyright 2015 André Guerreiro <[email protected]> // Copyright 2015 André Esser <[email protected]> +// Copyright 2017 Hans-Ulrich Jüttner <[email protected]> // //======================================================================== @@ -903,11 +904,6 @@ void FormFieldButton::fillChildrenSiblingsID() GBool FormFieldButton::setState(char *state) { - if (readOnly) { - error(errInternal, -1, "FormFieldButton::setState called on a readOnly field\n"); - return gFalse; - } - // A check button could behave as a radio button // when it's in a set of more than 1 buttons if (btype != formButtonRadio && btype != formButtonCheck)
_______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
