diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-06-23 13:45:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-06-23 18:18:22 +0200 |
commit | 5bb5763e2f208cddd114fe96466bdfa2ed3bdbf3 (patch) | |
tree | 141727ccd2129bbfa0cc96421329c0a675fc691b | |
parent | 05cd9a73542f0865639711e808771385ca835e66 (diff) |
Silence another unhelpful loplugin:redundantfcast
...after 37ec4442d70339dc8ec5fb8e4ec8984420b6e14d "o3tl: ensure that the
initializer of enumarray contains enough elements", in Windows-only code
Change-Id: I1373a5d777240104d88a892bcf048acf3e7392fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136334
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | vcl/win/window/salframe.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index fac5bbfac242..9306d35d77fe 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -2024,6 +2024,7 @@ void WinSalFrame::SetPointer( PointerStyle ePointerStyle ) static o3tl::enumarray<PointerStyle, ImplPtrData> aImplPtrTab = { + // [-loplugin:redundantfcast]: ImplPtrData{ nullptr, IDC_ARROW, 0 }, // POINTER_ARROW ImplPtrData{ nullptr, nullptr, SAL_RESID_POINTER_NULL }, // POINTER_NULL ImplPtrData{ nullptr, IDC_WAIT, 0 }, // POINTER_WAIT |