summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-06 12:46:49 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-06 12:46:49 +0200
commitbf744412213eb8b78d68e3ede9fa4ac77b4e0422 (patch)
treeccd054875739dfddfa7ea15f63bfbd1d407bef77 /sfx2
parent23d947c947d90f4383f9744d5b65cd30afd8dd74 (diff)
SearchUpdateHdl: -Werror=unused-parameter
Change-Id: Iac43e6456fafc924143f3fc749863a56a0e7da12
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/templatedlg.hxx2
-rw-r--r--sfx2/source/doc/templatedlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index 2efa11d17fc8..5fa51ae8e73e 100644
--- a/sfx2/inc/templatedlg.hxx
+++ b/sfx2/inc/templatedlg.hxx
@@ -64,7 +64,7 @@ private:
DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*);
- DECL_LINK(SearchUpdateHdl, Edit*);
+ DECL_LINK(SearchUpdateHdl, void*);
void OnTemplateImport ();
void OnTemplateSearch ();
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 77f903240a7b..8bf2c44c4ee1 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -559,7 +559,7 @@ IMPL_LINK(SfxTemplateManagerDlg, OpenTemplateHdl, ThumbnailViewItem*, pItem)
return 0;
}
-IMPL_LINK (SfxTemplateManagerDlg, SearchUpdateHdl, Edit*, pEdit)
+IMPL_LINK_NOARG(SfxTemplateManagerDlg, SearchUpdateHdl)
{
// if the search view is hidden, hide the folder view and display search one
if (!mpSearchView->IsVisible())