diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2018-11-06 18:43:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-09 17:15:47 +0100 |
commit | 17c87566e84ac433645f264a9bee4cb5ddbd23a5 (patch) | |
tree | 8f9317f43ac259fcca58f5224af4f487cacd6a3e /xmloff | |
parent | 86b30f05b41e751ca144796b61243e2ecaf56324 (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/62968
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Tamás Bunth <btomi96@gmail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 3ba0762e9623..4bf3e1c2c205 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -837,7 +837,7 @@ namespace xmloff OAttributeMetaData::getDatabaseAttributeNamespace(), OAttributeMetaData::getDatabaseAttributeName( DAFlags::InputRequired ), PROPERTY_INPUT_REQUIRED, - BoolAttrFlags::DefaultTrue + BoolAttrFlags::DefaultFalse ); RESET_BIT( nIncludeDatabase, DAFlags::InputRequired ); } |