summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/gridwizard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/dbpilots/gridwizard.cxx')
-rw-r--r--extensions/source/dbpilots/gridwizard.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index 9b550424c2e2..480b9ec283b6 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -395,7 +395,10 @@ namespace dbp
{
PushButton* pSimulateButton = m_pExistFields == _pList ? m_pSelectOne : m_pDeselectOne;
if (pSimulateButton->IsEnabled())
- return OnMoveOneEntry( pSimulateButton );
+ {
+ OnMoveOneEntry( pSimulateButton );
+ return 0;
+ }
else
return 1L;
}
@@ -408,7 +411,7 @@ namespace dbp
}
- IMPL_LINK(OGridFieldsSelection, OnMoveOneEntry, PushButton*, _pButton)
+ IMPL_LINK_TYPED(OGridFieldsSelection, OnMoveOneEntry, Button*, _pButton, void)
{
bool bMoveRight = (m_pSelectOne == _pButton);
ListBox& rMoveTo = bMoveRight ? *m_pSelFields : *m_pExistFields;
@@ -459,11 +462,10 @@ namespace dbp
}
implCheckButtons();
- return 0;
}
- IMPL_LINK(OGridFieldsSelection, OnMoveAllEntries, PushButton*, _pButton)
+ IMPL_LINK_TYPED(OGridFieldsSelection, OnMoveAllEntries, Button*, _pButton, void)
{
bool bMoveRight = (m_pSelectAll == _pButton);
m_pExistFields->Clear();
@@ -471,7 +473,6 @@ namespace dbp
fillListBox(bMoveRight ? *m_pSelFields : *m_pExistFields, getContext().aFieldNames);
implCheckButtons();
- return 0;
}