summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 14:45:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 08:14:31 +0200
commitff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch)
tree272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /starmath
parent224b770fa77fe12ad5dc543ce020aca316b6558d (diff)
remove UL/L suffixes from integer constants in initialiser/call expressions
Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx2
-rw-r--r--starmath/source/parse.cxx2
2 files changed, 2 insertions, 2 deletions
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<long>(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();