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/source/gdi/sallayout.cxx | |
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/source/gdi/sallayout.cxx')
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 1567d60a7eea..877d7e569114 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -722,16 +722,6 @@ bool SalLayout::GetBoundRect( SalGraphics& rSalGraphics, Rectangle& rRect ) cons return bRet; } -// FIXME: This function is just broken, it assumes any glyph at index 3 in the -// font is space, which though common is not a hard requirement and not the -// only glyph for space characters. Fix the call sites and fix them. -bool SalLayout::IsSpacingGlyph( sal_GlyphId nGlyph ) -{ - bool bRet = false; - bRet = (nGlyph == 3); - return bRet; -} - GenericSalLayout::GenericSalLayout() {} |