[Libreoffice-commits] core.git: vcl/source
Khaled Hosny
khaledhosny at eglug.org
Sun Apr 22 04:41:09 UTC 2018
vcl/source/gdi/CommonSalLayout.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 88d0b8ac42a6d60c385d1e90c5cb84e9e9d194be
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Sat Apr 21 19:03:38 2018 +0200
Glyph flags is now an int not long
Change-Id: Ica262bf1f1d36ae731647ee0a0345901aa7265ec
Reviewed-on: https://gerrit.libreoffice.org/53267
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index c455475ba53d..5f27b744779d 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -753,7 +753,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
continue;
}
- long nGlyphFlags = 0;
+ int nGlyphFlags = 0;
if (bRightToLeft)
nGlyphFlags |= GlyphItem::IS_RTL_GLYPH;
@@ -767,7 +767,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
nGlyphFlags |= GlyphItem::IS_DIACRITIC;
if (u_isUWhiteSpace(aChar))
- nGlyphFlags |= GlyphItem::IS_SPACING;
+ nGlyphFlags |= GlyphItem::IS_SPACING;
if (aSubRun.maScript == HB_SCRIPT_ARABIC &&
HB_DIRECTION_IS_BACKWARD(aSubRun.maDirection) &&
More information about the Libreoffice-commits
mailing list