summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/flash/swfwriter2.cxx2
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() ) );