diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-29 20:49:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-30 16:40:56 +0200 |
commit | 8689bd5490b473a7ffb149bbe5f7f0683f679c72 (patch) | |
tree | 896991b9de6e8aa9e00149b8ff7c12873cd73d48 /starmath/source/rect.cxx | |
parent | d4d8fb12e81152ad75d1ab4cabfa300aa982e589 (diff) |
convert TextAlign to scoped enum
Change-Id: Id2c466eacb44f0ea6adba75a0ac0be8be8e7ed4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119682
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r-- | starmath/source/rect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 8d7ea52d9717..4857e25693bd 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -58,7 +58,7 @@ bool SmGetGlyphBoundRect(const vcl::RenderContext &rDev, pGlyphDev->Push(PushFlags::FONT | PushFlags::MAPMODE); vcl::Font aFnt(rDev.GetFont()); - aFnt.SetAlignment(ALIGN_TOP); + aFnt.SetAlignment(TextAlign::Top); // use scale factor when calling GetTextBoundRect to counter // negative effects from antialiasing which may otherwise result |