[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Thu Dec 1 21:21:06 UTC 2016
vcl/unx/generic/gdi/gdiimpl.cxx | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
New commits:
commit 8cc096b2f43f02186da55050f357e7439350538b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Nov 30 14:47:23 2016 +0000
ditch old SAL_DO_NOT_USE_INVERT50 env var
Change-Id: I1b23db2335827cab6f1b98b40103b0508928b66e
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx
index ed7b377..4e367a6 100644
--- a/vcl/unx/generic/gdi/gdiimpl.cxx
+++ b/vcl/unx/generic/gdi/gdiimpl.cxx
@@ -377,17 +377,8 @@ GC X11SalGraphicsImpl::GetInvert50GC()
| GCFillStyle
| GCStipple;
- char* pEnv = getenv( "SAL_DO_NOT_USE_INVERT50" );
- if( pEnv && ! strcasecmp( pEnv, "true" ) )
- {
- values.fill_style = FillSolid;
- nValueMask &= ~ GCStipple;
- }
- else
- {
- values.fill_style = FillStippled;
- values.stipple = mrParent.GetDisplay()->GetInvert50( mrParent.m_nXScreen );
- }
+ values.fill_style = FillStippled;
+ values.stipple = mrParent.GetDisplay()->GetInvert50( mrParent.m_nXScreen );
mpInvert50GC = XCreateGC( mrParent.GetXDisplay(), mrParent.GetDrawable(),
nValueMask,
More information about the Libreoffice-commits
mailing list