Kaydet (Commit) 88d0b8ac authored tarafından Khaled Hosny's avatar Khaled Hosny

Glyph flags is now an int not long

Change-Id: Ica262bf1f1d36ae731647ee0a0345901aa7265ec
Reviewed-on: https://gerrit.libreoffice.org/53267Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
üst bb56e2de
...@@ -753,7 +753,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs) ...@@ -753,7 +753,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
continue; continue;
} }
long nGlyphFlags = 0; int nGlyphFlags = 0;
if (bRightToLeft) if (bRightToLeft)
nGlyphFlags |= GlyphItem::IS_RTL_GLYPH; nGlyphFlags |= GlyphItem::IS_RTL_GLYPH;
...@@ -767,7 +767,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs) ...@@ -767,7 +767,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
nGlyphFlags |= GlyphItem::IS_DIACRITIC; nGlyphFlags |= GlyphItem::IS_DIACRITIC;
if (u_isUWhiteSpace(aChar)) if (u_isUWhiteSpace(aChar))
nGlyphFlags |= GlyphItem::IS_SPACING; nGlyphFlags |= GlyphItem::IS_SPACING;
if (aSubRun.maScript == HB_SCRIPT_ARABIC && if (aSubRun.maScript == HB_SCRIPT_ARABIC &&
HB_DIRECTION_IS_BACKWARD(aSubRun.maDirection) && HB_DIRECTION_IS_BACKWARD(aSubRun.maDirection) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment