diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 22:01:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:36 +0100 |
commit | cca61a221cb7ad240f6bf8e910836a2b4b8dd553 (patch) | |
tree | 5ce855eb61ddb16e7d3607657c35b61717181f57 /vcl | |
parent | 9bed5b335ac0720175a3e316b497920e3e3c5aa1 (diff) |
-Werror,-Wunused-function
Change-Id: If5243c33723e2ad6d468f9bc44c5187cd19dc383
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 45778249ef6f..5a0d625bf827 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -167,19 +167,6 @@ bool GetKeyValue(const WCHAR* keyLocation, const WCHAR* keyName, OUString& destS return retval; } -// The driver ID is a string like PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD, possibly -// followed by &REV_XXXX. We uppercase the string, and strip the &REV_ part -// from it, if found. -void normalizeDriverId(OUString& driverid) -{ - driverid = driverid.toAsciiUpperCase(); - int32_t rev = driverid.indexOf("&REV_"); - if (rev != -1) - { - driverid = driverid.copy(0, rev - 1); - } -} - // The device ID is a string like PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD // this function is used to extract the id's out of it uint32_t ParseIDFromDeviceID(const OUString &key, const char *prefix, int length) |