summaryrefslogtreecommitdiff
path: root/cui/source/options/optsave.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-25 16:56:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-25 21:13:10 +0200
commitbbddb67a59655660ea028bcf1ca23c0f75a29779 (patch)
treef487b87689c1834bf10e647e12a2ed3e2cf2c4c3 /cui/source/options/optsave.cxx
parent80b055683bd8381f78214e2310f2a703ae7638ff (diff)
remove max-length from GtkSpinButton .ui
Change-Id: Ifee61d19ca017205dd4d21de14465eda9773a750 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117909 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optsave.cxx')
-rw-r--r--cui/source/options/optsave.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index 3ee6a66c40d2..9ad1c1f5a4c5 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -91,6 +91,8 @@ SvxSaveTabPage::SvxSaveTabPage(weld::Container* pPage, weld::DialogController* p
, m_xODFWarningFI(m_xBuilder->weld_widget("odfwarning_image"))
, m_xODFWarningFT(m_xBuilder->weld_label("odfwarning_label"))
{
+ m_xAutoSaveEdit->set_max_length(2);
+
m_xODFVersionLB->set_id(0, OUString::number(SvtSaveOptions::ODFVER_011)); // 1.0/1.1
m_xODFVersionLB->set_id(1, OUString::number(SvtSaveOptions::ODFVER_012)); // 1.2
m_xODFVersionLB->set_id(2, OUString::number(SvtSaveOptions::ODFVER_012_EXT_COMPAT)); // 1.2 Extended (compatibility mode)