sw/source/ui/fldui/flddok.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2e8b54b172947c30df014fd7cbbfdc6c81f4b0f7
Author:     Laurent BP <laurent.balland-poir...@laposte.net>
AuthorDate: Sat Sep 28 12:49:35 2019 +0200
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Oct 1 10:51:10 2019 +0200

    tdf#127840 Remove limit to Days offset
    
    Since 6.3 branch, offset in days is rectricted to 1 month,
    which could be too restricted.
    In previous versions, this limit was not effective.
    
    Change-Id: Iaddf6fe3ae5e8cd937127302917108d6f465ab81
    Reviewed-on: https://gerrit.libreoffice.org/79788
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit eeac5b7a424c3a3be48b1c3583171ad97d1b19cd)
    Reviewed-on: https://gerrit.libreoffice.org/79896
    Reviewed-by: Laurent BP <laurent.balland-poir...@laposte.net>

diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index 7cee887a6687..5868b1e58e83 100644
--- a/sw/source/ui/fldui/flddok.cxx
+++ b/sw/source/ui/fldui/flddok.cxx
@@ -305,7 +305,7 @@ IMPL_LINK_NOARG(SwFieldDokPage, TypeHdl, weld::TreeView&, 
void)
 
             m_xDateFT->show();
 
-            m_xDateOffsetED->set_range(-31, 31);    // one month
+            m_xDateOffsetED->set_range(INT_MIN, INT_MAX);    // no limit
 
             if (IsFieldEdit())
                 m_xDateOffsetED->set_value( 
static_cast<SwDateTimeField*>(GetCurField())->GetOffset() / 24 / 60);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to