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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/core/inc/swfont.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index 59b31a3946a6..a2eedaca5f64 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -86,7 +86,7 @@ class SwSubFont final : public SvxFont inline void SetFillColor( const Color& rColor ); inline void SetCharSet( const rtl_TextEncoding eCharSet ); inline void SetPitch( const FontPitch ePitch ); - inline void SetAlign( const FontAlign eAlign ); + inline void SetAlign( const TextAlign eAlign ); inline void SetUnderline( const FontLineStyle eUnderline ); inline void SetOverline( const FontLineStyle eOverline ); inline void SetStrikeout( const FontStrikeout eStrikeout ); @@ -209,7 +209,7 @@ public: // the encapsulated SV-Font-methods (set bFntChg to true) inline void SetColor( const Color& rColor ); inline void SetFillColor( const Color& rColor ); - inline void SetAlign( const FontAlign eAlign ); + inline void SetAlign( const TextAlign eAlign ); inline void SetUnderline( const FontLineStyle eUnderline ); void SetUnderColor( const Color &rColor ) { m_aUnderColor = rColor; } inline void SetOverline( const FontLineStyle eOverline ); @@ -505,13 +505,13 @@ inline void SwFont::SetPitch( const FontPitch ePitch, const SwFontScript nWhich } // encapsulated SV-Font-method -inline void SwSubFont::SetAlign( const FontAlign eAlign ) +inline void SwSubFont::SetAlign( const TextAlign eAlign ) { m_nFontCacheId = nullptr; Font::SetAlignment( eAlign ); } -inline void SwFont::SetAlign( const FontAlign eAlign ) +inline void SwFont::SetAlign( const TextAlign eAlign ) { m_bFontChg = true; m_aSub[SwFontScript::Latin].SetAlign( eAlign ); |