summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2018-11-06 18:43:03 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2018-11-06 19:14:23 +0100
commitfec8c14e960fbcd639a04d6c3354caff2d0bd365 (patch)
tree6438d76757d039c9ace70d7a88cc41ee95cea642 /xmloff
parentebc5d16a99c9e6f9d41b6c12f75fd950c1125b73 (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 'xmloff')
-rw-r--r--xmloff/source/forms/elementexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 288b110f67f6..d0fee7480896 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -835,7 +835,7 @@ namespace xmloff
OAttributeMetaData::getDatabaseAttributeNamespace(),
OAttributeMetaData::getDatabaseAttributeName( DAFlags::InputRequired ),
PROPERTY_INPUT_REQUIRED,
- BoolAttrFlags::DefaultTrue
+ BoolAttrFlags::DefaultFalse
);
RESET_BIT( nIncludeDatabase, DAFlags::InputRequired );
}