diff options
Diffstat (limited to 'vcl/generic/glyphs/graphite_serverfont.cxx')
-rw-r--r-- | vcl/generic/glyphs/graphite_serverfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/glyphs/graphite_serverfont.cxx b/vcl/generic/glyphs/graphite_serverfont.cxx index 3549c01c8bab..84cdcf8ce044 100644 --- a/vcl/generic/glyphs/graphite_serverfont.cxx +++ b/vcl/generic/glyphs/graphite_serverfont.cxx @@ -32,7 +32,7 @@ float freetypeServerFontAdvance(const void* appFontHandle, gr_uint16 glyphId) { ServerFont * pServerFont = const_cast<ServerFont*> - (reinterpret_cast<const ServerFont*>(appFontHandle)); + (static_cast<const ServerFont*>(appFontHandle)); if (pServerFont) { return static_cast<float>(pServerFont->GetGlyphMetric(glyphId).GetCharWidth()); |