diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-29 12:58:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-30 12:11:51 +0200 |
commit | 5c9001acf25bf1795f683fc1a43dc6ec0ba6ced9 (patch) | |
tree | 7d22f1b6bcee3f4e52209947be61baeed0282e30 /svx/source | |
parent | 8618707dd9d7de2a439ab361d7ff6bca373670c4 (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 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpdf.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 66d2acc86b9b..de91990ccde8 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -1006,7 +1006,7 @@ void ImpSdrGDIMetaFileImport::ImportText( const Point& rPos, const OUString& rSt FontMetric aFontMetric( mpVD->GetFontMetric() ); vcl::Font aFnt( mpVD->GetFont() ); - FontAlign eAlg( aFnt.GetAlignment() ); + TextAlign eAlg( aFnt.GetAlignment() ); sal_Int32 nTextWidth = static_cast<sal_Int32>( mpVD->GetTextWidth( rStr ) * mfScaleX ); sal_Int32 nTextHeight = static_cast<sal_Int32>( mpVD->GetTextHeight() * mfScaleY ); diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 9605a4dfeb42..471aa47375c3 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -790,7 +790,7 @@ void ImpSdrPdfImport::InsertTextObject(const Point& rPos, const Size& rSize, con FontMetric aFontMetric(mpVD->GetFontMetric()); vcl::Font aFont(mpVD->GetFont()); - FontAlign eAlignment(aFont.GetAlignment()); + TextAlign eAlignment(aFont.GetAlignment()); // sal_Int32 nTextWidth = static_cast<sal_Int32>(mpVD->GetTextWidth(rStr) * mfScaleX); sal_Int32 nTextHeight = static_cast<sal_Int32>(mpVD->GetTextHeight() * mfScaleY); |