diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 2 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 2 |
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(); |