diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:54 +0100 |
commit | e22a16a3b9aa127f6e2bc2c5b893d7527ceab21c (patch) | |
tree | 0b0c093b656de7410690df0766732e747eee8fe5 | |
parent | 61f168d98750549107a65e846fbe5c49f277295e (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I1bf672c3d3c47b82906a0c755a6dd8e55dc48f88
-rw-r--r-- | filter/source/flash/swfwriter2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) ); |