summaryrefslogtreecommitdiff
path: root/vcl/coretext/salcoretextlayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/coretext/salcoretextlayout.cxx')
-rw-r--r--vcl/coretext/salcoretextlayout.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/coretext/salcoretextlayout.cxx b/vcl/coretext/salcoretextlayout.cxx
index d2c2d48cf519..12c2035191a4 100644
--- a/vcl/coretext/salcoretextlayout.cxx
+++ b/vcl/coretext/salcoretextlayout.cxx
@@ -447,6 +447,10 @@ int CoreTextLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIDs, Point& rPos
nStart += 1;
}
+ if( pCharIndexes ) {
+ pCharIndexes[i] = mpGlyphs2Chars[mnCurrentGlyphIndex];
+ }
+
SAL_INFO( "vcl.coretext.layout", "GetNextGlyphs() returning " << i );
return i;