summaryrefslogtreecommitdiff
path: root/vcl/source/font/font.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-29 12:58:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-30 12:11:51 +0200
commit5c9001acf25bf1795f683fc1a43dc6ec0ba6ced9 (patch)
tree7d22f1b6bcee3f4e52209947be61baeed0282e30 /vcl/source/font/font.cxx
parent8618707dd9d7de2a439ab361d7ff6bca373670c4 (diff)
drop FontAlign alias of TextAlign
Change-Id: If69ce85482fdb7d33d00fb0cf9b4d4609bb92cd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119681 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/font/font.cxx')
-rw-r--r--vcl/source/font/font.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx
index 5da80236aec5..cc5042fc9506 100644
--- a/vcl/source/font/font.cxx
+++ b/vcl/source/font/font.cxx
@@ -108,7 +108,7 @@ void Font::SetTransparent( bool bTransparent )
mpImplFont->mbTransparent = bTransparent;
}
-void Font::SetAlignment( FontAlign eAlign )
+void Font::SetAlignment( TextAlign eAlign )
{
if (const_cast<const ImplType&>(mpImplFont)->meAlign != eAlign)
mpImplFont->SetAlignment(eAlign);
@@ -824,7 +824,7 @@ const Color& Font::GetColor() const { return mpImplFont->maColor; }
const Color& Font::GetFillColor() const { return mpImplFont->maFillColor; }
bool Font::IsTransparent() const { return mpImplFont->mbTransparent; }
-FontAlign Font::GetAlignment() const { return mpImplFont->GetAlignment(); }
+TextAlign Font::GetAlignment() const { return mpImplFont->GetAlignment(); }
const OUString& Font::GetFamilyName() const { return mpImplFont->GetFamilyName(); }
const OUString& Font::GetStyleName() const { return mpImplFont->maStyleName; }