diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-02-09 10:04:56 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-02-09 17:22:59 +0100 |
commit | 2a43fe2c6357ba15fe65461a4fb5242e20b581e7 (patch) | |
tree | 8a09a0e06d713dedc9accc3ef7b6e3163b2ab85e /vcl/unx/generic/window | |
parent | 3d38a134614c6546cb47119716ee84e4d9b64175 (diff) |
Fix condition
OSL_DEBUG_LEVEL is always set as it seems
Change-Id: Ie555f705fd13de778463c8073e86d30b3ce09073
Reviewed-on: https://gerrit.libreoffice.org/49476
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/unx/generic/window')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 8f2528c8d4e2..8d925ffb371a 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -702,7 +702,7 @@ void X11SalFrame::Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nXScreen // Hack that out unconditionally for debug builds, as per https://bugzilla.redhat.com/show_bug.cgi?id=981149 // upstream refuses to make this configurable in any way. // NOTE: You need to use the 'gen' backend for this to work (SAL_USE_VCLPLUGIN=gen) -#ifndef OSL_DEBUG_LEVEL +#if OSL_DEBUG_LEVEL < 1 if( pDisplay_->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_PING ) ) a[n++] = pDisplay_->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_PING ); #endif |