diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-27 21:44:39 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-30 12:45:03 +0100 |
commit | adf71090c94b90d95d3b320e070d53b7071751cd (patch) | |
tree | 1760879530bf5cdfec74f8b1478a0a7e55856ffe /vcl/unx | |
parent | 7b0f2ee441b0cbcb88f3020df40c49e7cd6f9fb1 (diff) |
Hide SalLayoutGlyphs details
Nobody outside of VCL should deal with GlyphItems.
Change-Id: Id84b0f320bc49f790658f23efe129b92262c2aea
Reviewed-on: https://gerrit.libreoffice.org/62446
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index ce04e4f68b55..50f1b8d451c6 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -591,7 +591,7 @@ void FreetypeFont::ApplyGlyphTransform(bool bVertical, FT_Glyph pGlyphFT ) const bool FreetypeFont::GetGlyphBoundRect(const GlyphItem& rGlyph, tools::Rectangle& rRect) { - if (::GetCachedGlyphBoundRect(rGlyph, rRect)) + if (rGlyph.GetCachedGlyphBoundRect(rRect)) return true; FT_Activate_Size( maSizeFT ); @@ -616,7 +616,7 @@ bool FreetypeFont::GetGlyphBoundRect(const GlyphItem& rGlyph, tools::Rectangle& FT_Done_Glyph( pGlyphFT ); rRect = tools::Rectangle(aBbox.xMin, -aBbox.yMax, aBbox.xMax, -aBbox.yMin); - ::CacheGlyphBoundRect(rGlyph, rRect); + rGlyph.CacheGlyphBoundRect(rRect); return true; } |