summaryrefslogtreecommitdiff
path: root/vcl/inc/outdev.h
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-05-28 15:13:47 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-28 15:25:52 +0200
commit16a62079018aea0e72636bdb00576487b4e830b9 (patch)
treec8356fea22d9ea9da190316ef3a752e8aac92c7b /vcl/inc/outdev.h
parente0ae1e0d96e0f046f68e7166ae9146e411bc7d50 (diff)
Oops, this reference can't be const.
It's used in ImplFontCache::GetGlyphFallbackFont. This is fix for commit a6b00d16eb27a5e7e31c721671001a909ecef960, which caused huge performance regression for document in fdo#59882, fortunately immediately detected by loperf. Change-Id: I475742b5249f106d34c4f6c43b1e39e9bb7b897a
Diffstat (limited to 'vcl/inc/outdev.h')
-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 e468ae22534a..dcde57c09ee9 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*, const FontSelectPattern& );
+ ImplFontEntry* GetFontEntry( PhysicalFontCollection*, FontSelectPattern& );
ImplFontEntry* GetGlyphFallbackFont( PhysicalFontCollection*, FontSelectPattern&,
int nFallbackLevel, OUString& rMissingCodes );
void Release( ImplFontEntry* );