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 /sfx2 | |
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 'sfx2')
-rw-r--r-- | sfx2/source/control/charwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/charwin.cxx b/sfx2/source/control/charwin.cxx index 99f5c5796d08..670ae38e9c7b 100644 --- a/sfx2/source/control/charwin.cxx +++ b/sfx2/source/control/charwin.cxx @@ -234,7 +234,7 @@ void SvxCharView::SetFont(const vcl::Font& rFont) tools::Long nWinHeight = GetOutputSizePixel().Height(); maFont = rFont; maFont.SetWeight(WEIGHT_NORMAL); - maFont.SetAlignment(ALIGN_TOP); + maFont.SetAlignment(TextAlign::Top); maFont.SetFontSize(mxVirDev->PixelToLogic(Size(0, nWinHeight / 2))); maFont.SetTransparent(true); |