[Libreoffice-commits] .: sfx2/inc sfx2/source
Michael Stahl
mst at kemper.freedesktop.org
Fri Jul 6 03:55:48 PDT 2012
sfx2/inc/templatedlg.hxx | 2 +-
sfx2/source/doc/templatedlg.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bf744412213eb8b78d68e3ede9fa4ac77b4e0422
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Jul 6 12:46:49 2012 +0200
SearchUpdateHdl: -Werror=unused-parameter
Change-Id: Iac43e6456fafc924143f3fc749863a56a0e7da12
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index 2efa11d..5fa51ae 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 77f9032..8bf2c44 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())
More information about the Libreoffice-commits
mailing list