diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index 9e4a4d44974c..cdbbb58a42b6 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -673,7 +673,7 @@ bool FreetypeFont::GetAntialiasAdvice() const // determine unicode ranges in font -FontCharMapRef FreetypeFont::GetFontCharMap() const +const FontCharMapRef & FreetypeFont::GetFontCharMap() const { return mxFontInfo->GetFontCharMap(); } @@ -683,7 +683,7 @@ bool FreetypeFont::GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) return mxFontInfo->GetFontCapabilities(rFontCapabilities); } -FontCharMapRef FreetypeFontInfo::GetFontCharMap() const +const FontCharMapRef & FreetypeFontInfo::GetFontCharMap() const { // check if the charmap is already cached if( mxFontCharMap.is() ) |