[Libreoffice-commits] core.git: vcl/unx

Khaled Hosny khaledhosny at eglug.org
Thu May 19 10:44:34 UTC 2016


 vcl/unx/generic/glyphs/gcach_layout.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1a140de1f8b02759288adc33a64d35b0a0806600
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Thu May 19 11:14:40 2016 +0200

    Try to stop the tinderboxes from spamming me
    
    Change-Id: I6ee66973b08604d619dc49cf699d1d1219f54820
    Reviewed-on: https://gerrit.libreoffice.org/25151
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>

diff --git a/vcl/unx/generic/glyphs/gcach_layout.cxx b/vcl/unx/generic/glyphs/gcach_layout.cxx
index a80eb31..dc9a84f 100644
--- a/vcl/unx/generic/glyphs/gcach_layout.cxx
+++ b/vcl/unx/generic/glyphs/gcach_layout.cxx
@@ -534,7 +534,8 @@ bool HbLayoutEngine::Layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs)
                 // apply vertical flags and glyph substitution
                 // XXX: Use HB_DIRECTION_TTB above and apply whatever flags magic
                 // FixupGlyphIndex() is doing, minus the GSUB part.
-                sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&nCharPos, 0);
+                sal_Int32 indexUtf16 = nCharPos;
+                sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&indexUtf16, 0);
                 nGlyphIndex = rFont.FixupGlyphIndex(nGlyphIndex, aChar);
 
                 bool bInCluster = false;


More information about the Libreoffice-commits mailing list