From cca61a221cb7ad240f6bf8e910836a2b4b8dd553 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 24 Nov 2015 22:01:48 +0100 Subject: -Werror,-Wunused-function Change-Id: If5243c33723e2ad6d468f9bc44c5187cd19dc383 --- vcl/opengl/win/WinDeviceInfo.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'vcl') 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) -- cgit