diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-08 06:21:23 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-11 00:22:53 +0000 |
commit | a7b9af59ea331cbc5495d2eb0f89ce6e6105ab09 (patch) | |
tree | 56556fe1faf0d52f70d17a4db871ebca255ca49b /vcl/win/gdi/winlayout.cxx | |
parent | a597dc833966aba23d4b677e5bcd6f74b979fc9d (diff) |
GF_VERT is only used once, move it
Change-Id: I15289eecfbfb29ee549470a7f752e0c7fd9f811e
Reviewed-on: https://gerrit.libreoffice.org/31820
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/win/gdi/winlayout.cxx')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 708c931b0e05..d0d96157e246 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -296,7 +296,7 @@ bool ExTextOutRenderer::operator ()(SalLayout const &rLayout, HDC hDC, bGlyphs = true; WORD glyphWStr[] = { pGlyph->maGlyphId }; if (pGlyph->IsVertical()) - glyphWStr[0] |= GF_VERT; + glyphWStr[0] |= 0x02000000; // A (undocumented?) GDI flag for vertical glyphs ExtTextOutW(hDC, pPos->X(), pPos->Y(), ETO_GLYPH_INDEX, nullptr, LPCWSTR(&glyphWStr), 1, nullptr); } |