diff options
Diffstat (limited to 'sfx2/source/control/charwin.cxx')
-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); |