diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-17 17:05:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-17 17:05:18 +0100 |
commit | 721cbf443744661c3c83a45186eb0b72d6e20e41 (patch) | |
tree | ad2d2c207b309b996bce9caaecf368ba3196fa41 /vcl/win/gdi/winlayout.cxx | |
parent | 89ec8095c4a0f1497f4ca5778a210cb19d712330 (diff) |
Silence -Werror,-Wlogical-op-parentheses
Change-Id: I4d592ef4bd683ffe8d9d44b3d3b188f9d4ed63ba
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 e5b891dd5994..4941ac7cad3a 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -413,7 +413,7 @@ bool SimpleWinLayout::LayoutText( ImplLayoutArgs& rArgs ) int nGlyphWidth = 0; // Unicode variance selectors selects glyph of previous base character, do not have width itself. - if ( nCharCode >= 0xFE00 && nCharCode <= 0xFE0F || nCharCode >= 0xE0100 && nCharCode <= 0xE01EF ) + if ( (nCharCode >= 0xFE00 && nCharCode <= 0xFE0F) || (nCharCode >= 0xE0100 && nCharCode <= 0xE01EF) ) { mpOutGlyphs[ i ] = DROPPED_OUTGLYPH; mpGlyphAdvances[ i ] = 0; |