summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-20 09:35:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-20 16:09:53 +0200
commit39b1a14b85ec1a0616a08a49f1be16f91a8e7f82 (patch)
tree708881b8ede51233fa98586b3bab97e2941814ae
parent26bb96e3dfbbbdaf0b66e3759d02054d182a50db (diff)
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@redhat.com>
-rw-r--r--sw/uiconfig/swriter/ui/insertbreak.ui2
1 files changed, 1 insertions, 1 deletions
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>