diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:13:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:15:08 +0200 |
commit | f1cef09fcda11e321f8b01ab4600c28339dec45a (patch) | |
tree | bc71552f9c3111aab5cc8a49d53c51c2a6907182 /basctl | |
parent | 0cc53919440f150f4bfedb7a5b88cdb0cf3317dc (diff) |
loplugin:casttovoid
...cases that were initially missed due to the broken
containsProcessingConditionalInclusion()
Change-Id: Ib7d801ab5173ee590ef35a9e075d3ce4d4aa06da
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/register.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedfunc.cxx | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/basctl/source/basicide/register.cxx b/basctl/source/basicide/register.cxx index 30e06909c618..22d06f80bb2d 100644 --- a/basctl/source/basicide/register.cxx +++ b/basctl/source/basicide/register.cxx @@ -34,10 +34,8 @@ extern "C" { SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, - void* pRegistryKey ) + void* ) { - (void)pRegistryKey; - // Set default return value for this operation - if it failed. void* pReturn = nullptr ; diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx index 3da94728b3bc..d0bb7dc6e6b4 100644 --- a/basctl/source/dlged/dlgedfunc.cxx +++ b/basctl/source/dlged/dlgedfunc.cxx @@ -27,9 +27,8 @@ namespace basctl { -IMPL_LINK( DlgEdFunc, ScrollTimeout, Timer *, pTimer, void ) +IMPL_LINK_NOARG( DlgEdFunc, ScrollTimeout, Timer *, void ) { - (void)pTimer; vcl::Window& rWindow = rParent.GetWindow(); Point aPos = rWindow.ScreenToOutputPixel( rWindow.GetPointerPosPixel() ); aPos = rWindow.PixelToLogic( aPos ); |