diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
commit | bd205223ec029a875c662474bb6d423d3cdd1994 (patch) | |
tree | 6531a292edb0d2a13103a4c55cbd10e7137b8a58 /cui/source/dialogs/insdlg.cxx | |
parent | 32781c2d268ed94eb46318a0398385baf31368c4 (diff) |
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
Diffstat (limited to 'cui/source/dialogs/insdlg.cxx')
-rw-r--r-- | cui/source/dialogs/insdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 2ff622ba546d..c85443fa7cef 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -110,7 +110,7 @@ InsertObjectDialog_Impl::InsertObjectDialog_Impl( Window * pParent, const ResId // ----------------------------------------------------------------------- -IMPL_LINK_INLINE_START( SvInsertOleDlg, DoubleClickHdl, ListBox *, EMPTYARG ) +IMPL_LINK_NOARG_INLINE_START(SvInsertOleDlg, DoubleClickHdl) { EndDialog( RET_OK ); return 0; @@ -119,7 +119,7 @@ IMPL_LINK_INLINE_END( SvInsertOleDlg, DoubleClickHdl, ListBox *, pListBox ) // ----------------------------------------------------------------------- -IMPL_LINK( SvInsertOleDlg, BrowseHdl, PushButton *, EMPTYARG ) +IMPL_LINK_NOARG(SvInsertOleDlg, BrowseHdl) { Reference< XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() ); if( xFactory.is() ) @@ -162,7 +162,7 @@ IMPL_LINK( SvInsertOleDlg, BrowseHdl, PushButton *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( SvInsertOleDlg, RadioHdl, RadioButton *, EMPTYARG ) +IMPL_LINK_NOARG(SvInsertOleDlg, RadioHdl) { if ( aRbNewObject.IsChecked() ) { @@ -396,7 +396,7 @@ uno::Reference< io::XInputStream > SvInsertOleDlg::GetIconIfIconified( ::rtl::OU return uno::Reference< io::XInputStream >(); } -IMPL_LINK( SvInsertPlugInDialog, BrowseHdl, PushButton *, EMPTYARG ) +IMPL_LINK_NOARG(SvInsertPlugInDialog, BrowseHdl) { Sequence< OUString > aFilterNames, aFilterTypes; void fillNetscapePluginFilters( Sequence< OUString >& rNames, Sequence< OUString >& rTypes ); |