summaryrefslogtreecommitdiff
path: root/fpicker/source/office/iodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/iodlg.cxx')
-rw-r--r--fpicker/source/office/iodlg.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 9e843e97c82b..5eb5f8efedd1 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1318,10 +1318,9 @@ IMPL_LINK_NOARG_TYPED( SvtFileDialog, FileNameGetFocusHdl_Impl, Control&, void )
-IMPL_LINK_NOARG( SvtFileDialog, FileNameModifiedHdl_Impl )
+IMPL_LINK_NOARG_TYPED( SvtFileDialog, FileNameModifiedHdl_Impl, Edit&, void )
{
FileNameGetFocusHdl_Impl( *_pImp->_pEdFileName );
- return 0;
}
@@ -2913,7 +2912,7 @@ IMPL_LINK_NOARG_TYPED(QueryFolderNameDialog, OKHdl, Button*, void)
}
-IMPL_LINK_NOARG(QueryFolderNameDialog, NameHdl)
+IMPL_LINK_NOARG_TYPED(QueryFolderNameDialog, NameHdl, Edit&, void)
{
// trim the strings
OUString aName = comphelper::string::strip(m_pNameEdit->GetText(), ' ');
@@ -2927,8 +2926,6 @@ IMPL_LINK_NOARG(QueryFolderNameDialog, NameHdl)
if ( m_pOKBtn->IsEnabled() )
m_pOKBtn->Enable( false );
}
-
- return 0;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */