From 88bf1749f1eb7322106da1254e349f51f5df0df5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 18 Aug 2021 09:25:40 +0100 Subject: undo changes to TextAlign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert commit 8689bd5490b473a7ffb149bbe5f7f0683f679c72 Author: Caolán McNamara Date: Thu Jul 29 20:49:29 2021 +0100 convert TextAlign to scoped enum lets leave this as it always was Change-Id: Id4d2a5644974cdd2b0ed6d361d5c52629674d057 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120626 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- sfx2/source/control/charwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/charwin.cxx b/sfx2/source/control/charwin.cxx index 670ae38e9c7b..99f5c5796d08 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(TextAlign::Top); + maFont.SetAlignment(ALIGN_TOP); maFont.SetFontSize(mxVirDev->PixelToLogic(Size(0, nWinHeight / 2))); maFont.SetTransparent(true); -- cgit