diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-14 11:37:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-14 14:06:53 +0200 |
commit | 165e57d6c9b980f22e57fb1c4c70d9a8c4aaf1c8 (patch) | |
tree | b1db42500f85273d481f701b4fe0a387ca354868 /svx | |
parent | c7ac8480c9df601a58bad892c472dcf7c5e9dc01 (diff) |
weld FmInputRecordNoDialog
Change-Id: I87f3dc3a576e30fe50871c14a67a5b777c21d3ba
Reviewed-on: https://gerrit.libreoffice.org/54308
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmshell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index fdd8f4a81085..d23f5f821743 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -732,8 +732,8 @@ void FmFormShell::Execute(SfxRequest &rReq) DBG_ASSERT( pFact, "no dialog factory!" ); if ( pFact ) { - ScopedVclPtr< AbstractFmInputRecordNoDialog > dlg( pFact->CreateFmInputRecordNoDialog() ); - DBG_ASSERT( dlg.get(), "Dialog creation failed!" ); + ScopedVclPtr<AbstractFmInputRecordNoDialog> dlg(pFact->CreateFmInputRecordNoDialog(rReq.GetFrameWeld())); + assert(dlg.get() && "Dialog creation failed!"); dlg->SetValue( rController->getCursor()->getRow() ); if ( dlg->Execute() == RET_OK ) nRecord = dlg->GetValue(); |