[Libreoffice-commits] core.git: chart2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Mar 19 15:43:40 UTC 2019
chart2/source/controller/dialogs/tp_AxisPositions.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 93b562432a2f4d0a37afcfa89a4e88c83c229157
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Mar 19 12:44:03 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Mar 19 16:43:15 2019 +0100
Resolves: tdf#124111 Cannot enter negative number
Change-Id: I9b08595f5dc7ca0bd3e86891330dd1caa0446e63
Reviewed-on: https://gerrit.libreoffice.org/69417
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index 3b27e1493836..1a6248b83565 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -54,6 +54,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