[Libreoffice-commits] core.git: sw/uiconfig

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 20 14:10:38 UTC 2020


 sw/uiconfig/swriter/ui/insertbreak.ui |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 39b1a14b85ec1a0616a08a49f1be16f91a8e7f82
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 20 09:35:23 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Oct 20 16:09:53 2020 +0200

    tdf#137608 allow insert break to use a page number > 9999
    
    writer is using sal_uInt16 for the page number. If we wanted anything bigger
    then the max possible sal_uInt16 then we would need to make real changes to
    writer to change the type.
    
    Leaving the type as sal_uInt16 but allowing 65535 then makes it real easy to
    use the ui to force writer to loop over to page 0 and I can predict the moaning
    about that. So I propose instead of an arbitrary max of 10000-1 to have an
    arbitrary max of 65535-10000 for 55535 instead.
    
    Change-Id: Id4c244e144f718c8917786cb9846625e4845b65a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104555
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/uiconfig/swriter/ui/insertbreak.ui b/sw/uiconfig/swriter/ui/insertbreak.ui
index fec113dc6168..6125bbfdaa50 100644
--- a/sw/uiconfig/swriter/ui/insertbreak.ui
+++ b/sw/uiconfig/swriter/ui/insertbreak.ui
@@ -3,7 +3,7 @@
 <interface domain="sw">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkAdjustment" id="adjustment1">
-    <property name="upper">9999</property>
+    <property name="upper">55535</property>
     <property name="value">1</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>


More information about the Libreoffice-commits mailing list