diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-10-02 20:40:24 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-10-03 05:12:54 +0200 |
commit | 8dbcd72f83e2317dd40c0fa605fd26b3f6a2616b (patch) | |
tree | c9b2f18f699b35c28b2121e66ebd370be6235156 | |
parent | tdf#120028 PPTX import: map shapes with multiple columns to table shapes (diff) | |
download | core-8dbcd72f83e2317dd40c0fa605fd26b3f6a2616b.tar.gz core-8dbcd72f83e2317dd40c0fa605fd26b3f6a2616b.zip |
tdf#120245: Accept to insert empty field with 'not null' database constraint
See https://bugs.documentfoundation.org/show_bug.cgi?id=120245#c4
Change-Id: I9ac852a83e0a57c34ef3640bf0fb0e6a3394db63
Reviewed-on: https://gerrit.libreoffice.org/61269
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins
-rw-r--r-- | svx/source/form/formcontroller.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 881f1ec84967..f3a10ee3c0da 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -3730,8 +3730,7 @@ sal_Bool SAL_CALL FormController::approveRowChange(const RowChangeEvent& _rEvent if ( rColInfo.bReadOnly ) continue; - if ( !rColInfo.xFirstControlWithInputRequired.is() && !rColInfo.xFirstGridWithInputRequiredColumn.is() - && rColInfo.nNullable != ColumnValue::NO_NULLS ) + if ( !rColInfo.xFirstControlWithInputRequired.is() && !rColInfo.xFirstGridWithInputRequiredColumn.is() ) { continue; } |