diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2018-11-06 18:43:03 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2018-11-06 19:14:23 +0100 |
commit | fec8c14e960fbcd639a04d6c3354caff2d0bd365 (patch) | |
tree | 6438d76757d039c9ace70d7a88cc41ee95cea642 /svx | |
parent | ebc5d16a99c9e6f9d41b6c12f75fd950c1125b73 (diff) |
tdf#121188 form controls should have InputRequired false by default
Unless the underlying column is not nullable and has no default value
this is only a guess, form designer can change it
Change-Id: Ifa403e00b21fdaf86aef383503d54879b25ac62b
Reviewed-on: https://gerrit.libreoffice.org/62969
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/formcontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 504158432591..7552baf7bf7a 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -302,7 +302,7 @@ namespace bool lcl_isInputRequired( const Reference< XPropertySet >& _rxControlModel ) { - bool bInputRequired = true; + bool bInputRequired = false; OSL_VERIFY( _rxControlModel->getPropertyValue( FM_PROP_INPUT_REQUIRED ) >>= bInputRequired ); return bInputRequired; } |