summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-24 12:55:06 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-24 12:58:57 +0200
commit81d9f1cbd634e54719dd288c5b0de2015d563b2a (patch)
tree69c27c4e8dfd98a1bb661f082f1beca1cd590903 /vcl
parentbbbef1568bfced7fd351a8df15cc5d8f227b3ace (diff)
Bin outdated #if and unnecessary <config_mingw.h>
We don't support cross-compiling with MinGW currently, and in any case if we ever attempt such again, in the meantime the free replacement Win32 headers most likely have been updated to include the SCRIPT_CONTROL::fMergeNeutralItems field, so no conditional compilation is needed. Change-Id: I38701d6c41c44952466c1ece7c8433abe67642be
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/winlayout.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 980daa8ffae2..23fd8be33340 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -56,8 +56,6 @@
#define DROPPED_OUTGLYPH 0xFFFF
-#include <config_mingw.h>
-
namespace
{
// Extra space at the top and bottom of the glyph in total = tmHeight / GLYPH_SPACE_RATIO;
@@ -866,9 +864,8 @@ bool UniscribeLayout::LayoutText( ImplLayoutArgs& rArgs )
SCRIPT_CONTROL aScriptControl = {nLangId,false,false,false,false,false,false,false,false,0};
aScriptControl.fNeutralOverride = aScriptState.fOverrideDirection;
aScriptControl.fContextDigits = bool(rArgs.mnFlags & SalLayoutFlags::SubstituteDigits);
-#if HAVE_FMERGENEUTRALITEMS
aScriptControl.fMergeNeutralItems = true;
-#endif
+
// determine relevant substring and work only on it
// when Bidi status is unknown we need to look at the whole string though
mnSubStringMin = 0;