diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-08 07:00:02 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-11 00:25:06 +0000 |
commit | 869368e94dcfe393b0d06b1c1de18b5ce0d08d3d (patch) | |
tree | 15b4a29d8d6319a5a1ab2932cea4002fdab931b6 /vcl/inc | |
parent | a7b9af59ea331cbc5495d2eb0f89ce6e6105ab09 (diff) |
Drop SalLayout::IsSpacingGlyph()
Replace it with a check from ICU that actually makes sense.
Change-Id: Ie8789444a967420d58f5575f42bc45677bfa96a1
Reviewed-on: https://gerrit.libreoffice.org/31822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/sallayout.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index ee41051f7f38..447cc390a6b4 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -182,8 +182,6 @@ public: virtual bool GetOutline( SalGraphics&, basegfx::B2DPolyPolygonVector& ) const; virtual bool GetBoundRect( SalGraphics&, Rectangle& ) const; - static bool IsSpacingGlyph( sal_GlyphId ); - // reference counting void Release() const; @@ -321,13 +319,15 @@ public: IS_RTL_GLYPH = 0x002, IS_DIACRITIC = 0x004, IS_VERTICAL = 0x008, - ALLOW_KASHIDA = 0X010 + IS_SPACING = 0x010, + ALLOW_KASHIDA = 0x020 }; bool IsClusterStart() const { return ((mnFlags & IS_IN_CLUSTER) == 0); } bool IsRTLGlyph() const { return ((mnFlags & IS_RTL_GLYPH) != 0); } bool IsDiacritic() const { return ((mnFlags & IS_DIACRITIC) != 0); } bool IsVertical() const { return ((mnFlags & IS_VERTICAL) != 0); } + bool IsSpacing() const { return ((mnFlags & IS_SPACING) != 0); } bool AllowKashida() const { return ((mnFlags & ALLOW_KASHIDA) != 0); } }; |