summaryrefslogtreecommitdiff
path: root/starmath/source/rect.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-27 15:03:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-28 11:55:30 +0100
commitddf8a2f91bb14be1b1cca2d2ea0ebd7fda5dd0fe (patch)
treefef6d1f8cca75a09de7ed2d8efb438a2be07272c /starmath/source/rect.cxx
parent1da69081732c8a429840edaaf10cfb789ea68df8 (diff)
TopLeft().Y() -> Top() etc.
TopLeft().X() -> Left() BottomLeft().X() -> Left() TopRight().X() -> Right() BottomRight().X() -> Right() TopLeft().Y() -> Top() TopRight().Y() -> Top() BottomLeft().Y() -> Bottom() BottomRight().Y() -> Bottom() Change-Id: I5050f619bf92cfc59b6f8dfe7c9f98ef1453c294 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110022 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r--starmath/source/rect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx
index edb1e738ac59..3cc94da55a62 100644
--- a/starmath/source/rect.cxx
+++ b/starmath/source/rect.cxx
@@ -239,7 +239,7 @@ SmRect::SmRect(const OutputDevice &rDev, const SmFormat *pFormat,
nDist = (rDev.GetFont().GetFontSize().Height()
* pFormat->GetDistance(DIS_ORNAMENTSIZE)) / 100;
- nHiAttrFence = aGlyphRect.TopLeft().Y() - 1 - nBorderWidth - nDist;
+ nHiAttrFence = aGlyphRect.Top() - 1 - nBorderWidth - nDist;
nLoAttrFence = SmFromTo(GetAlignB(), GetBottom(), 0.0);
nGlyphTop = aGlyphRect.Top() - nBorderWidth;