diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-10 09:04:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-10 13:16:13 +0200 |
commit | 916260dcbe84fcde76ee66c752391123f44ea4da (patch) | |
tree | 388a0202519e03422ecb4c577811ffc2acc2cb44 /sw/source/ui/dbui | |
parent | 0e8d0c725ed135dd7c95e6963e585326b2d97d3b (diff) |
weld SwTableTabDlg
Change-Id: I343ddfd5ba1e42711b74815517ab931e0905dd07
Reviewed-on: https://gerrit.libreoffice.org/60243
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index 3524214b5380..74de0e146404 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -653,7 +653,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, DblClickHdl, ListBox&, rBox, void ) TableToFromHdl( pButton ); } -IMPL_LINK( SwInsertDBColAutoPilot, TableFormatHdl, Button*, pButton, void ) +IMPL_LINK_NOARG(SwInsertDBColAutoPilot, TableFormatHdl, Button*, void) { SwWrtShell& rSh = pView->GetWrtShell(); bool bNewSet = false; @@ -761,7 +761,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, TableFormatHdl, Button*, pButton, void ) SwAbstractDialogFactory* pFact = swui::GetFactory(); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); - ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateSwTableTabDlg(pButton, pTableSet.get(), &rSh)); + ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateSwTableTabDlg(GetFrameWeld(), pTableSet.get(), &rSh)); if( RET_OK == pDlg->Execute() ) pTableSet->Put( *pDlg->GetOutputItemSet() ); else if( bNewSet ) |