From 17c87566e84ac433645f264a9bee4cb5ddbd23a5 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Tue, 6 Nov 2018 18:43:03 +0100 Subject: tdf#121188 form controls should have InputRequired false by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Tamás Bunth Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/form/formcontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index f3a10ee3c0da..0ae665b4e4eb 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -301,7 +301,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; } -- cgit