summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-02-11 18:14:23 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-02-11 17:12:20 +0000
commit72a311533a6b89dc7b268e2d6626816b24fcc61a (patch)
tree06c4003988daf438703f9a96693d8f70d8c8125c /vcl
parent71eab1c4b0f7516b57c2bd863335522885fa81f8 (diff)
LigaturesEnabled flag is never set
Change-Id: Id4a4631ff7c69aa01deddd2b88626ff83fd5e7b1 Reviewed-on: https://gerrit.libreoffice.org/34151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/text.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 46eb2bdfd237..7aa669f5ad37 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -1186,9 +1186,6 @@ ImplLayoutArgs OutputDevice::ImplPrepareLayoutArgs( OUString& rStr,
if( maFont.IsVertical() )
nLayoutFlags |= SalLayoutFlags::Vertical;
- if( mnTextLayoutMode & ComplexTextLayoutFlags::LigaturesEnabled )
- nLayoutFlags |= SalLayoutFlags::EnableLigatures;
-
if( meTextLanguage ) //TODO: (mnTextLayoutMode & ComplexTextLayoutFlags::SubstituteDigits)
{
// disable character localization when no digits used