summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-20 15:13:42 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-20 15:13:46 +0200
commit24b49879338cd01fece071576504821e5e36cbb4 (patch)
tree503989c7a12872504cd1f3e7df317617bf2ba325 /vcl
parent0145e05a2e866dbad0372bf21c30d8264677a7b9 (diff)
WaE: unused variable 'aOSRelease'
Actually we don't need the aOS variable either, we can check maOS directly. Change-Id: Ib14d6baf0bda28a45361886059629460641571bc
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/x11/X11DeviceInfo.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx
index 972f1237d224..6899f53624f8 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -305,9 +305,7 @@ bool X11OpenGLDeviceInfo::isDeviceBlocked()
}
// Bug 724640: FGLRX + Linux 2.6.32 is a crashy combo
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") != -1 &&
+ bool badOS = maOS.indexOf("Linux") != -1 &&
maOSRelease.indexOf("2.6.32") != -1;
if (unknownOS || badOS) {
SAL_WARN("vcl.opengl", "blocked OS version with fglrx");