diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-16 16:18:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-16 21:16:13 +0100 |
commit | ee6548117e617be0a2d4e87671db43a4f97d0027 (patch) | |
tree | ab3a65d9db3e7fd14566645f5d64f5afc4b01fdf /vcl | |
parent | 6bc3b6cfc72d157fb43c88e754f6ed4f53aac16e (diff) |
WB_HYPHENATION is newly unused
Change-Id: If1fd94b1a0f572fb1bc40f2098079408c9916ce1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110999
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/fixed.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 0482c06f584f..370dabbe6234 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -121,11 +121,7 @@ DrawTextFlags FixedText::ImplGetTextStyle( WinBits nWinStyle ) else nTextStyle |= DrawTextFlags::Top; if ( nWinStyle & WB_WORDBREAK ) - { nTextStyle |= DrawTextFlags::WordBreak; - if ( (nWinStyle & WB_HYPHENATION ) == WB_HYPHENATION ) - nTextStyle |= DrawTextFlags::WordBreakHyphenation; - } if ( nWinStyle & WB_NOLABEL ) nTextStyle &= ~DrawTextFlags::Mnemonic; |