summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-25 16:36:57 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-25 20:15:46 +0000
commit377f97cc92fda4c6281dc418d20b9de8479c6996 (patch)
treef618e1da3cd34a58c53886cab184d8b811e2a120 /vcl/unx
parente954697a9d39e40473fb9f59a791ccb7129e763c (diff)
vcl: replace boost::dynamic_bitset with boost::optional<std::bitset>
The getTTCoverage either leaves the bitset empty or inits it with 128 bits, so it's not particularly dynamic. Change-Id: Iac0aa6a023acc54da86d681e75ca550faf91ef26 Reviewed-on: https://gerrit.libreoffice.org/25456 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/glyphs/freetype_glyphcache.cxx4
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 933771ca2a5e..e12fcb8332c5 100644
--- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
@@ -1065,8 +1065,8 @@ bool ServerFont::GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) c
if (pOS2)
{
bRet = vcl::getTTCoverage(
- rFontCapabilities.maUnicodeRange,
- rFontCapabilities.maCodePageRange,
+ rFontCapabilities.oUnicodeRange,
+ rFontCapabilities.oCodePageRange,
pOS2, nLength);
}