vcl/win/window/salframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5bb5763e2f208cddd114fe96466bdfa2ed3bdbf3
Author: Stephan Bergmann <[email protected]>
AuthorDate: Thu Jun 23 13:45:29 2022 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Thu Jun 23 18:18:22 2022 +0200
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 <[email protected]>
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