diff --git a/include/vcl/outdevstate.hxx b/include/vcl/outdevstate.hxx index c1f42f65426f..8e2236bb34ae 100644 --- a/include/vcl/outdevstate.hxx +++ b/include/vcl/outdevstate.hxx @@ -66,11 +66,10 @@ enum class ComplexTextLayoutFlags BiDiRtl = 0x0001, BiDiStrong = 0x0002, TextOriginLeft = 0x0004, - TextOriginRight = 0x0008, - LigaturesEnabled = 0x0200 + TextOriginRight = 0x0008 }; namespace o3tl { - template<> struct typed_flags : is_typed_flags {}; + template<> struct typed_flags : is_typed_flags {}; } class OutDevState 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