[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - extensions/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 15 19:41:07 UTC 2020
extensions/source/propctrlr/usercontrol.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c4b1578006473c76302453eae80a1f5d473c1191
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 15 16:38:03 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 15 20:40:34 2020 +0100
Related: tdf#138661 don't limit OFormatSampleControl to +10000
let it take any value, so the date preview can show todays date and
not an arbitrary max value from the past
Change-Id: Ia6f47d44c68c15293e2adcd950724ee2cef024d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107712
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index 65e170299013..74390e1fcde2 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -81,6 +81,8 @@ namespace pcr
{
Formatter& rFieldFormatter = m_xSpinButton->GetFormatter();
rFieldFormatter.TreatAsNumber(true);
+ rFieldFormatter.ClearMinValue();
+ rFieldFormatter.ClearMaxValue();
m_xEntry->connect_key_press(LINK(this, OFormatSampleControl, KeyInputHdl));
}
More information about the Libreoffice-commits
mailing list