From e838d143178ee82c786d11fd792d8d6735858933 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 23 Nov 2016 03:55:21 +0200 Subject: Revert "tdf#89870: Add config option for layout engine" This reverts commit 6324efd70dfa8c6be84cba1fa29658e3373cbbe3. The old layout engines will soon be gone. Change-Id: Iedbcffd18b11ac36ad98a66ac12111058aab19b3 Reviewed-on: https://gerrit.libreoffice.org/31142 Reviewed-by: Khaled Hosny Tested-by: Khaled Hosny --- officecfg/registry/schema/org/openoffice/Office/Common.xcs | 7 ------- vcl/source/gdi/sallayout.cxx | 5 +---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index c5129ed4536c..abd9c3942442 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -851,13 +851,6 @@ Contains settings for VCL. - - - Specifies which text layout engine should be use. Possible - values are ("old", "new"). - - new - Specifies if OpenGL rendering should be used in VCL backends diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 0034bca78b7a..4c15c8fef3a5 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -34,8 +34,6 @@ #include -#include - #include #include @@ -772,8 +770,7 @@ bool SalLayout::IsSpacingGlyph( sal_GlyphId nGlyph ) bool SalLayout::UseCommonLayout() { - static bool bUse = (getenv("SAL_NO_COMMON_LAYOUT") == nullptr) && - (officecfg::Office::Common::VCL::TextLayoutEngine::get() == "new"); + static bool bUse = getenv("SAL_NO_COMMON_LAYOUT") == nullptr; return bUse; } -- cgit v1.2.3