Kaydet (Commit) f1cef09f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:casttovoid

...cases that were initially missed due to the broken
containsProcessingConditionalInclusion()

Change-Id: Ib7d801ab5173ee590ef35a9e075d3ce4d4aa06da
üst 0cc53919
......@@ -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 ;
......
......@@ -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 );
......
......@@ -80,9 +80,8 @@ struct ProviderRequest
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL firebird_sdbc_component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
void* pRegistryKey)
void*)
{
(void) pRegistryKey;
void* pRet = nullptr;
if (pServiceManager)
{
......
......@@ -5128,10 +5128,8 @@ uno::Reference< graphic::XGraphic> SvxIconSelectorDialog::GetSelectedIcon()
return result;
}
IMPL_LINK( SvxIconSelectorDialog, SelectHdl, ToolBox *, pToolBox, void )
IMPL_LINK_NOARG( SvxIconSelectorDialog, SelectHdl, ToolBox *, void )
{
(void)pToolBox;
ToolBox::ImplToolItems::size_type nCount = pTbSymbol->GetItemCount();
for (ToolBox::ImplToolItems::size_type n = 0; n < nCount; ++n )
......
......@@ -312,10 +312,8 @@ ScreenshotAnnotationDlg_Impl::~ScreenshotAnnotationDlg_Impl()
mpVirtualBufferDevice.disposeAndClear();
}
IMPL_LINK(ScreenshotAnnotationDlg_Impl, saveButtonHandler, Button*, pButton, void)
IMPL_LINK_NOARG(ScreenshotAnnotationDlg_Impl, saveButtonHandler, Button*, void)
{
(void)pButton;
// 'save screenshot...' pressed, offer to save maParentDialogBitmap
// as PNG image, use *.id file name as screenshot file name offering
OString aDerivedFileName;
......
......@@ -475,10 +475,8 @@ extern "C"
{
SAL_DLLPUBLIC_EXPORT void* SAL_CALL protocolhandler_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 ;
......
......@@ -3293,9 +3293,8 @@ void SvxColorListBox::ShowPreview(const NamedColor &rColor)
SetText(rColor.second);
}
IMPL_LINK(SvxColorListBox, MenuActivateHdl, MenuButton *, pBtn, void)
IMPL_LINK_NOARG(SvxColorListBox, MenuActivateHdl, MenuButton *, void)
{
(void)pBtn;
if (!m_xColorWindow || m_xColorWindow->isDisposed())
createColorWindow();
}
......
......@@ -910,14 +910,13 @@ bool X11SalGraphicsImpl::drawAlphaBitmap( const SalTwoRect& rTR,
}
bool X11SalGraphicsImpl::drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,
const basegfx::B2DPoint& rY,
const SalBitmap& rSourceBitmap,
const SalBitmap* pAlphaBitmap)
const basegfx::B2DPoint&,
const basegfx::B2DPoint&,
const basegfx::B2DPoint&,
const SalBitmap&,
const SalBitmap*)
{
// here direct support for transformed bitmaps can be implemented
(void)rNull; (void)rX; (void)rY; (void)rSourceBitmap; (void)pAlphaBitmap;
return false;
}
......
......@@ -2396,9 +2396,8 @@ void GtkSalFrame::SetParent( SalFrame* pNewParent )
);
}
bool GtkSalFrame::SetPluginParent( SystemParentData* pSysParent )
bool GtkSalFrame::SetPluginParent( SystemParentData* )
{
(void)pSysParent;
//FIXME: no SetPluginParent impl. for gtk3
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment