diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-24 01:32:11 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-26 10:58:38 +0000 |
commit | 59859a8aaa75384159e315ee2577d5cc7e2aa6e8 (patch) | |
tree | d40bdc98a7bc5574c662d93dd7d54d4d9231617c /vcl/unx/generic/gdi/font.cxx | |
parent | 8c173ce9ba4d90770cd85b148fe3122a097396a7 (diff) |
ServerFontLayout is already gone
Kill DrawServerFontLayout, and rename DrawSalLayout to DrawTextLayout,
in parity with GetTextLayout.
Change-Id: I3f61efd8c6ecde64f28301dca6a7c91eb0873702
Reviewed-on: https://gerrit.libreoffice.org/31224
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/unx/generic/gdi/font.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/font.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/vcl/unx/generic/gdi/font.cxx b/vcl/unx/generic/gdi/font.cxx index fa7a1204ba25..bed701da17ed 100644 --- a/vcl/unx/generic/gdi/font.cxx +++ b/vcl/unx/generic/gdi/font.cxx @@ -53,14 +53,9 @@ X11SalGraphics::GetFontGC() return pFontGC_; } -void X11SalGraphics::DrawServerFontLayout( const GenericSalLayout& rLayout, const FreetypeFont& rFreetypeFont ) +void X11SalGraphics::DrawTextLayout(const CommonSalLayout& rLayout) { - mxTextRenderImpl->DrawServerFontLayout(rLayout, rFreetypeFont); -} - -void X11SalGraphics::DrawSalLayout( const CommonSalLayout& rLayout ) -{ - DrawServerFontLayout( rLayout, rLayout.getFontData() ); + mxTextRenderImpl->DrawTextLayout(rLayout); } const FontCharMapRef X11SalGraphics::GetFontCharMap() const |