summaryrefslogtreecommitdiffstats
path: root/vcl/source/outdev/font.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-12-08 07:00:02 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-12-11 00:25:06 +0000
commit869368e94dcfe393b0d06b1c1de18b5ce0d08d3d (patch)
tree15b4a29d8d6319a5a1ab2932cea4002fdab931b6 /vcl/source/outdev/font.cxx
parentGF_VERT is only used once, move it (diff)
downloadcore-869368e94dcfe393b0d06b1c1de18b5ce0d08d3d.tar.gz
core-869368e94dcfe393b0d06b1c1de18b5ce0d08d3d.zip
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/outdev/font.cxx')
-rw-r--r--vcl/source/outdev/font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 3820d428cf46..fe54a3d69615 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1303,7 +1303,7 @@ void OutputDevice::ImplDrawEmphasisMarks( SalLayout& rSalLayout )
if (!mpGraphics->GetGlyphBoundRect(*pGlyph, aRectangle ) )
continue;
- if (!SalLayout::IsSpacingGlyph(pGlyph->maGlyphId))
+ if (!pGlyph->IsSpacing())
{
Point aAdjPoint = aOffset;
aAdjPoint.X() += aRectangle.Left() + (aRectangle.GetWidth() - nEmphasisWidth) / 2;