From ff1f6a5fc25db062e9a83521a657062f62f03ba6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Aug 2017 14:45:49 +0200 Subject: remove UL/L suffixes from integer constants in initialiser/call expressions Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/source/node.cxx | 2 +- starmath/source/parse.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 086e69d34d07..e4b0aae6f3b6 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -174,7 +174,7 @@ void SmNode::SetFontSize(const Fraction &rSize, FontSizeType nType) break; case FontSizeType::DIVIDE: - if (rSize != Fraction(0L)) + if (rSize != Fraction(0)) aFntSize.Height() = static_cast(Fraction(aFntSize.Height()) / rSize); break; default: diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 934a91412329..12f8e4269117 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1806,7 +1806,7 @@ SmStructureNode *SmParser::DoFontSize() } // get number argument - Fraction aValue( 1L ); + Fraction aValue( 1 ); if (lcl_IsNumber( m_aCurToken.aText )) { double fTmp = m_aCurToken.aText.toDouble(); -- cgit v1.2.3