summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/selectdbtabledialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/selectdbtabledialog.cxx')
-rw-r--r--sw/source/ui/dbui/selectdbtabledialog.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/selectdbtabledialog.cxx b/sw/source/ui/dbui/selectdbtabledialog.cxx
index 24c3df4753c7..6ed6e3d6fae7 100644
--- a/sw/source/ui/dbui/selectdbtabledialog.cxx
+++ b/sw/source/ui/dbui/selectdbtabledialog.cxx
@@ -157,7 +157,7 @@ void SwSelectDBTableDialog::dispose()
SfxModalDialog::dispose();
}
-IMPL_LINK(SwSelectDBTableDialog, PreviewHdl, PushButton*, pButton)
+IMPL_LINK_TYPED(SwSelectDBTableDialog, PreviewHdl, Button*, pButton, void)
{
SvTreeListEntry* pEntry = m_pTable->FirstSelected();
if(pEntry)
@@ -190,8 +190,6 @@ IMPL_LINK(SwSelectDBTableDialog, PreviewHdl, PushButton*, pButton)
VclPtrInstance< SwDBTablePreviewDialog > pDlg(pButton, aProperties);
pDlg->Execute();
}
-
- return 0;
}
OUString SwSelectDBTableDialog::GetSelectedTable(bool& bIsTable)