Kaydet (Commit) e22a16a3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't assume sal_Unicode is unsigned short

Change-Id: I1bf672c3d3c47b82906a0c755a6dd8e55dc48f88
üst 61f168d9
...@@ -460,7 +460,7 @@ sal_uInt16 FlashFont::getGlyph( sal_uInt16 nChar, VirtualDevice* pVDev ) ...@@ -460,7 +460,7 @@ sal_uInt16 FlashFont::getGlyph( sal_uInt16 nChar, VirtualDevice* pVDev )
// let the virtual device convert the character to polygons // let the virtual device convert the character to polygons
tools::PolyPolygon aPolyPoly; tools::PolyPolygon aPolyPoly;
pVDev->GetTextOutline( aPolyPoly, OUString(nChar) ); pVDev->GetTextOutline( aPolyPoly, OUString(sal_Unicode(nChar)) );
maGlyphOffsets.push_back( _uInt16( maGlyphData.getOffset() ) ); maGlyphOffsets.push_back( _uInt16( maGlyphData.getOffset() ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment