summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/indexdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/indexdialog.cxx')
-rw-r--r--dbaccess/source/ui/dlg/indexdialog.cxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx
index 9f0e584c2a4e..6fff7c236cd1 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -237,7 +237,7 @@ namespace dbaui
fillIndexList();
- m_pUnique->SetClickHdl(LINK(this, DbaIndexDialog, OnModified));
+ m_pUnique->SetClickHdl(LINK(this, DbaIndexDialog, OnModifiedClick));
m_pFields->SetModifyHdl(LINK(this, DbaIndexDialog, OnModified));
m_pClose->SetClickHdl(LINK(this, DbaIndexDialog, OnCloseDialog));
@@ -557,7 +557,7 @@ namespace dbaui
OnResetIndex();
}
- IMPL_LINK_NOARG( DbaIndexDialog, OnCloseDialog )
+ IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnCloseDialog, Button*, void )
{
if (m_pIndexList->IsEditingActive())
{
@@ -567,7 +567,7 @@ namespace dbaui
m_pIndexList->EndEditing();
if (m_bEditAgain)
// could not commit the new name (started a new - asynchronous - edit trial)
- return 1L;
+ return;
}
// the currently selected entry
@@ -592,17 +592,15 @@ namespace dbaui
{
case RET_YES:
if (!implCommitPreviouslySelected())
- return 1L;
+ return;
break;
case RET_NO:
break;
default:
- return 1L;
+ return;
}
EndDialog(RET_OK);
-
- return 0L;
}
IMPL_LINK( DbaIndexDialog, OnEditIndexAgain, SvTreeListEntry*, _pEntry )
@@ -733,6 +731,10 @@ namespace dbaui
return true;
}
+ IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnModifiedClick, Button*, void )
+ {
+ OnModified(NULL);
+ }
IMPL_LINK_NOARG( DbaIndexDialog, OnModified )
{
OSL_ENSURE(m_pPreviousSelection, "DbaIndexDialog, OnModified: invalid call!");