vcl/opengl/x11/X11DeviceInfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 43a8993482697a12885146e0fba6fc266cb182d4 Author: Markus Mohrhard <markus.mohrh...@collabora.co.uk> Date: Thu Nov 20 14:04:32 2014 +0100 bad API translation between mozilla strings and OUString Change-Id: I99df7d45a1e242e8a1373f150da7a5b74a7d0ffb diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx index 24fd279..972f123 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"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits