summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-20 16:54:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-21 11:30:32 +0200
commite0ad66c833265e16ef515283e998ed17f7c9e7f4 (patch)
treefd853bfbb644319ec0e96fa44b80a83b0372e0e7 /xmlscript
parent195c1cfb16a9513e496c2bc2179c282344df9926 (diff)
drop unnecessary mpFontInstance use path
the only call to the ImplFontMetricData ctor is from the ctor of LogicalFontInstance. LogicalFontInstance is only created via PhysicalFontFace::CreateFontInstance which is only from ImplFontCache::GetFontInstance. The typical call to ImplFontCache::GetFontInstance(..., FontSelectPattern&) is from the other GetFontInstance which create a new FontSelectPatternAttributes so rFontSelData.mpFontInstance won't get set in that case The other case is from the edge-case GetGlyphFallbackFont where mpFontInstance will be set. I'm reasonably confident that we don't need actually have this mpFontInstance use, but if it turns out we do then it could be restored to GetGlyphFallbackFont after it ctors the its LogicalFontInstance return Change-Id: I77404876b55bceced951d78cb52bc9cb829fc904 Reviewed-on: https://gerrit.libreoffice.org/59371 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlscript')
0 files changed, 0 insertions, 0 deletions