diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 16:27:55 +0200 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2017-11-29 14:00:55 +0100 |
commit | 2887aefa4d4f60ba8b0cd7efd5d3a73ffb209781 (patch) | |
tree | 4c9496d38d098e5f82442fd6a4bd9c350ba3a413 /starmath | |
parent | 85a47e76ea80c6a0676ac3b44032361733d44af3 (diff) |
remove UL/L suffixes from integer constants on the RHS of expressions
Reviewed-on: https://gerrit.libreoffice.org/41237
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 2e8acde112e1c6754df26902e79a78346ba45a2d)
Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5
Reviewed-on: https://gerrit.libreoffice.org/45452
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 84942089915d..71bcfe23f117 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -1548,8 +1548,8 @@ void SmVerticalBraceNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) eRectPos = RectPos::Bottom; nDistScript *= + rFormat.GetDistance(DIS_LOWERLIMIT); } - nDistBody /= 100L; - nDistScript /= 100L; + nDistBody /= 100; + nDistScript /= 100; Point aPos = pBrace->AlignTo(*pBody, eRectPos, RectHorAlign::Center, RectVerAlign::Baseline); aPos.Y() += nDistBody; |