diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-14 12:05:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-14 15:30:14 +0200 |
commit | 9a2c347e76c330b45504c8219510c9ef86503b86 (patch) | |
tree | 5b8065100740e67350a431c1ce3b69ef7e39446e /vcl/source/font | |
parent | 97e49876086bbdcb58ae0c22d9145c453f239468 (diff) |
inline some use-once typedefs
Change-Id: Ifefdb1ad20d09e257064171e458b2eb33065f5de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100733
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/font')
-rw-r--r-- | vcl/source/font/fontcache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx index a37154d27328..4ed38bc70153 100644 --- a/vcl/source/font/fontcache.cxx +++ b/vcl/source/font/fontcache.cxx @@ -176,14 +176,14 @@ rtl::Reference<LogicalFontInstance> ImplFontCache::GetFontInstance( PhysicalFont struct limit_exception : public std::exception {}; try { - maFontInstanceList.remove_if([this] (FontInstanceListPair const& rFontPair) + maFontInstanceList.remove_if([this] (FontInstanceList::key_value_pair_t const& rFontPair) { if (maFontInstanceList.size() < FONTCACHE_MAX) throw limit_exception(); LogicalFontInstance* pFontEntry = rFontPair.second.get(); if (pFontEntry->m_nCount > 1) return false; - m_aBoundRectCache.remove_if([&pFontEntry] (GlyphBoundRectCachePair const& rGlyphPair) + m_aBoundRectCache.remove_if([&pFontEntry] (GlyphBoundRectCache::key_value_pair_t const& rGlyphPair) { return rGlyphPair.first.m_pFont == pFontEntry; }); if (mpLastHitCacheEntry == pFontEntry) mpLastHitCacheEntry = nullptr; |