diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 17:02:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:14 +0100 |
commit | 5169abbac92f30b950ab19c2c8e285c47fb1f0d7 (patch) | |
tree | 12dc79b6a99b1978982f816037a9c1bad23032f0 /vcl/generic/glyphs | |
parent | Be explicit when using bool as integral value (as Link return value) (diff) | |
download | core-5169abbac92f30b950ab19c2c8e285c47fb1f0d7.tar.gz core-5169abbac92f30b950ab19c2c8e285c47fb1f0d7.zip |
bool improvements
Change-Id: I7ec4f5b2e691ec03e9e2c5ca3a004f1e04efbc27
Diffstat (limited to 'vcl/generic/glyphs')
-rw-r--r-- | vcl/generic/glyphs/glyphcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx index 4ac5d82a1b9b..4e5e939e4bb9 100644 --- a/vcl/generic/glyphs/glyphcache.cxx +++ b/vcl/generic/glyphs/glyphcache.cxx @@ -89,7 +89,7 @@ size_t GlyphCache::IFSD_Hash::operator()( const FontSelectPattern& rFontSelData size_t nHash = nFontId << 8; nHash += rFontSelData.mnHeight; nHash += rFontSelData.mnOrientation; - nHash += rFontSelData.mbVertical; + nHash += size_t(rFontSelData.mbVertical); nHash += rFontSelData.GetSlant(); nHash += rFontSelData.GetWeight(); #if ENABLE_GRAPHITE |