svx/source/form/formcontroller.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit adb0030d99b90fc50e536c89fc8c7a80f057c6ac
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Tue Oct 2 20:40:24 2018 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Wed Oct 3 07:03:46 2018 +0200

    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/61268
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/svx/source/form/formcontroller.cxx 
b/svx/source/form/formcontroller.cxx
index 98e06bf10c94..ea762b98d52a 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;
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to