summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:44:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:13 +0000
commit48b1c8898d2f5a54435d23c412a0c65b553ef46d (patch)
treeef87e03b112f675718ee542d86d42ed7c8beb4fb /vcl/inc/opengl/win
parent613213240a84327a0a72bb5ee98cc88d50c1fd0e (diff)
clang-cl loplugin: vcl
Change-Id: I40f8a6fef9d66b28a1d72551a6873b041b38b09e Reviewed-on: https://gerrit.libreoffice.org/29841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/inc/opengl/win')
-rw-r--r--vcl/inc/opengl/win/WinDeviceInfo.hxx10
-rw-r--r--vcl/inc/opengl/win/blocklist_parser.hxx1
2 files changed, 5 insertions, 6 deletions
diff --git a/vcl/inc/opengl/win/WinDeviceInfo.hxx b/vcl/inc/opengl/win/WinDeviceInfo.hxx
index 8dcbd553dfe9..2e6360d4af07 100644
--- a/vcl/inc/opengl/win/WinDeviceInfo.hxx
+++ b/vcl/inc/opengl/win/WinDeviceInfo.hxx
@@ -149,7 +149,7 @@ private:
bool mbRDP;
void GetData();
- void FillBlacklist();
+ static void FillBlacklist();
bool FindBlocklistedDeviceInList();
static OUString* mpDeviceVendors[wgl::DeviceVendorMax];
@@ -159,9 +159,9 @@ public:
WinOpenGLDeviceInfo();
static OUString GetDeviceVendor(wgl::DeviceVendor eVendor);
- virtual ~WinOpenGLDeviceInfo();
+ virtual ~WinOpenGLDeviceInfo() override;
- virtual bool isDeviceBlocked();
+ virtual bool isDeviceBlocked() override;
const OUString& GetDriverVersion() const
{
@@ -208,8 +208,8 @@ public:
}
static bool FindBlocklistedDeviceInList(std::vector<wgl::DriverInfo>& aDeviceInfos,
- OUString sDriverVersion, OUString sAdapterVendorID,
- OUString sAdapterDeviceID, uint32_t nWindowsVersion);
+ OUString const & sDriverVersion, OUString const & sAdapterVendorID,
+ OUString const & sAdapterDeviceID, uint32_t nWindowsVersion);
};
#endif
diff --git a/vcl/inc/opengl/win/blocklist_parser.hxx b/vcl/inc/opengl/win/blocklist_parser.hxx
index f30734436f22..6b716ab3d7e0 100644
--- a/vcl/inc/opengl/win/blocklist_parser.hxx
+++ b/vcl/inc/opengl/win/blocklist_parser.hxx
@@ -24,7 +24,6 @@ public:
private:
void handleEntry(wgl::DriverInfo& rDriver, xmlreader::XmlReader& rReader);
- void handleDevices(wgl::DriverInfo& rDriver, xmlreader::XmlReader& rReader);
void handleList(xmlreader::XmlReader& rReader);
void handleContent(xmlreader::XmlReader& rReader);