From ea771e85b2302829394df545bb82c02bff2750c2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 3 Feb 2022 19:59:25 +0000 Subject: Resolves: tdf#146997 use sal_Int64 instead of sal_Int32 for spinbutton values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit for these cases where draw wants to massively scale the units the underlying "metric conversion" are already using sal_Int64 anyway Change-Id: I94e120d72644319548f75b2f68cfe60d4829a2e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129356 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/source/ui/miscdlgs/mtrindlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui') diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx index 80c98537d463..7f234131fb33 100644 --- a/sc/source/ui/miscdlgs/mtrindlg.cxx +++ b/sc/source/ui/miscdlgs/mtrindlg.cxx @@ -43,7 +43,7 @@ ScMetricInputDlg::ScMetricInputDlg( weld::Window* pParent, m_xEdValue->set_range(m_xEdValue->normalize(nMinimum), m_xEdValue->normalize(nMaximum), FieldUnit::TWIP); - int nMin(0), nMax(0); + sal_Int64 nMin(0), nMax(0); m_xEdValue->get_range(nMin, nMax, FieldUnit::TWIP); auto nIncrement = m_xEdValue->normalize(1); -- cgit ce-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-06-07ofz#35033 missing componentsCaolán McNamara
2021-02-17Move DXF reader from filter module into VCLTomaž Vajngerl
2018-11-09fix oss-fuzz buildCaolán McNamara
2017-10-15shrink dxf fuzzerCaolán McNamara
2017-03-23ofz: readjust LLVMFuzzerInitialize to get ppt SdDLL::Init outside leak detectCaolán McNamara
2017-01-12add dxf fuzzerCaolán McNamara