summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-05-27 16:37:30 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-27 19:38:23 +0200
commita6b00d16eb27a5e7e31c721671001a909ecef960 (patch)
tree7ea874d0ce61f623279e2f5af5510c67dd236e59 /vcl/inc
parent5792e76cb5beb630c135f57b74f57d74dd2dc2b0 (diff)
Related bnc#822625: Cache FontEntry with the original FontSelectPattern.
Otherwise we never hit cache directly, only after expensive call to ImplFindByFont. Change-Id: If15b368feeba94c8fff8ee7cbe049fc4a2069768
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/outdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/outdev.h b/vcl/inc/outdev.h
index dcde57c09ee9..e468ae22534a 100644
--- a/vcl/inc/outdev.h
+++ b/vcl/inc/outdev.h
@@ -149,7 +149,7 @@ public:
ImplFontEntry* GetFontEntry( PhysicalFontCollection*,
const Font&, const Size& rPixelSize, float fExactHeight);
- ImplFontEntry* GetFontEntry( PhysicalFontCollection*, FontSelectPattern& );
+ ImplFontEntry* GetFontEntry( PhysicalFontCollection*, const FontSelectPattern& );
ImplFontEntry* GetGlyphFallbackFont( PhysicalFontCollection*, FontSelectPattern&,
int nFallbackLevel, OUString& rMissingCodes );
void Release( ImplFontEntry* );