diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-20 14:04:32 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-20 14:05:12 +0100 |
commit | 43a8993482697a12885146e0fba6fc266cb182d4 (patch) | |
tree | d4aea0397db3000d78c841d084a09f7997ff3e08 /vcl | |
parent | 92c5e9b2812571329a758d54b15273f5fc68f95c (diff) |
bad API translation between mozilla strings and OUString
Change-Id: I99df7d45a1e242e8a1373f150da7a5b74a7d0ffb
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/x11/X11DeviceInfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |