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/quartz | |
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/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 1425f7d1617b..fee6a676ac6c 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -141,7 +141,7 @@ void CoreTextStyle::GetFontMetric( ImplFontMetricDataRef const & rxFontMetric ) bool CoreTextStyle::GetGlyphBoundRect(const GlyphItem& rGlyph, tools::Rectangle& rRect ) { assert(this == rGlyph.m_pFontInstance); - if (::GetCachedGlyphBoundRect(rGlyph, rRect)) + if (rGlyph.GetCachedGlyphBoundRect(rRect)) return true; CGGlyph nCGGlyph = rGlyph.m_aGlyphId; @@ -162,7 +162,7 @@ bool CoreTextStyle::GetGlyphBoundRect(const GlyphItem& rGlyph, tools::Rectangle& long yMax = ceil(aCGRect.origin.y + aCGRect.size.height); rRect = tools::Rectangle(xMin, -yMax, xMax, -yMin); - ::CacheGlyphBoundRect(rGlyph, rRect); + rGlyph.CacheGlyphBoundRect(rRect); return true; } |