summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-04 08:13:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-04 08:15:08 +0200
commitf1cef09fcda11e321f8b01ab4600c28339dec45a (patch)
treebc71552f9c3111aab5cc8a49d53c51c2a6907182 /cui/source
parent0cc53919440f150f4bfedb7a5b88cdb0cf3317dc (diff)
loplugin:casttovoid
...cases that were initially missed due to the broken containsProcessingConditionalInclusion() Change-Id: Ib7d801ab5173ee590ef35a9e075d3ce4d4aa06da
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx4
2 files changed, 2 insertions, 6 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index a02a4d713243..d4788d7bf6ed 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -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 )
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index eee87b28d7ed..d29e6995f7a4 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -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;