Avoid loplugin:casttovoid with recent Clang 19 trunk
> In file included from sc/source/core/data/autonamecache.cxx:23:
> In file included from sc/inc/dociter.hxx:23:
> In file included from sc/inc/formulagroup.hxx:17:
> sc/inc/stlalgorithm.hxx:52:9: error: unnecessary cast to void [loplugin:casttovoid]
> 52 | (void)p; // avoid bogus MSVC '12 "unreferenced formal parameter" warning
> | ^~~~~~~
> sc/inc/stlalgorithm.hxx:51:9: note: first consumption is here [loplugin:casttovoid]
> 51 | p->~value_type();
> | ^
Change-Id: I14bcc32fcaf3026a9c3c36e522b1e61da15f224f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167158
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>