[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - chart2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Mar 20 16:02:53 UTC 2019
chart2/source/controller/dialogs/tp_AxisPositions.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 19a798d7576e5daa25e273cb14badfaacd8639dc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Mar 19 12:44:03 2019 +0000
Commit: Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Wed Mar 20 17:02:29 2019 +0100
Resolves: tdf#124111 Cannot enter negative number
Change-Id: I9b08595f5dc7ca0bd3e86891330dd1caa0446e63
Reviewed-on: https://gerrit.libreoffice.org/69419
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index 4c098e6273a5..c36d0e8882c7 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -62,6 +62,11 @@ AxisPositionsTabPage::AxisPositionsTabPage(TabPageParent pWindow,const SfxItemSe
{
m_xLB_CrossesAt->connect_changed(LINK(this, AxisPositionsTabPage, CrossesAtSelectHdl));
m_xLB_PlaceLabels->connect_changed(LINK(this, AxisPositionsTabPage, PlaceLabelsSelectHdl));
+
+ const double nMin = static_cast<double>(SAL_MIN_INT64);
+ const double nMax = static_cast<double>(SAL_MAX_INT64);
+ m_xED_CrossesAt->set_range(nMin, nMax);
+ m_xED_LabelDistance->set_range(nMin, nMax);
}
AxisPositionsTabPage::~AxisPositionsTabPage()
More information about the Libreoffice-commits
mailing list