From 43a8993482697a12885146e0fba6fc266cb182d4 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 20 Nov 2014 14:04:32 +0100 Subject: bad API translation between mozilla strings and OUString Change-Id: I99df7d45a1e242e8a1373f150da7a5b74a7d0ffb --- vcl/opengl/x11/X11DeviceInfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx index 24fd279943a6..972f1237d224 100644 --- a/vcl/opengl/x11/X11DeviceInfo.cxx +++ b/vcl/opengl/x11/X11DeviceInfo.cxx @@ -307,7 +307,7 @@ bool X11OpenGLDeviceInfo::isDeviceBlocked() bool unknownOS = maOS.isEmpty() || maOSRelease.isEmpty(); OUString aOS = rtl::OStringToOUString(maOS, RTL_TEXTENCODING_UTF8); OUString aOSRelease = rtl::OStringToOUString(maOSRelease, RTL_TEXTENCODING_UTF8); - bool badOS = aOS.indexOf("Linux", true) != -1 && + bool badOS = aOS.indexOf("Linux") != -1 && maOSRelease.indexOf("2.6.32") != -1; if (unknownOS || badOS) { SAL_WARN("vcl.opengl", "blocked OS version with fglrx"); -- cgit