From e22a16a3b9aa127f6e2bc2c5b893d7527ceab21c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 17 Nov 2015 10:36:54 +0100 Subject: Don't assume sal_Unicode is unsigned short Change-Id: I1bf672c3d3c47b82906a0c755a6dd8e55dc48f88 --- filter/source/flash/swfwriter2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/source/flash/swfwriter2.cxx b/filter/source/flash/swfwriter2.cxx index f13c63dbae85..3649cceba7d7 100644 --- a/filter/source/flash/swfwriter2.cxx +++ b/filter/source/flash/swfwriter2.cxx @@ -460,7 +460,7 @@ sal_uInt16 FlashFont::getGlyph( sal_uInt16 nChar, VirtualDevice* pVDev ) // let the virtual device convert the character to polygons tools::PolyPolygon aPolyPoly; - pVDev->GetTextOutline( aPolyPoly, OUString(nChar) ); + pVDev->GetTextOutline( aPolyPoly, OUString(sal_Unicode(nChar)) ); maGlyphOffsets.push_back( _uInt16( maGlyphData.getOffset() ) ); -- cgit v1.2.3