cancel on insert frame was inserting a frame
Change-Id: Ie95947935b5891642f22c81a15ae1d9ed24fd3f2
This commit is contained in:
parent
23a324d282
commit
ce3d66c29d
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
|
|||
SfxAbstractTabDialog* pDlg = pFact->CreateFrmTabDialog( DLG_FRM_STD,
|
||||
GetView().GetViewFrame(), &GetView().GetViewFrame()->GetWindow(), aSet, sal_True);
|
||||
OSL_ENSURE(pDlg, "Dialogdiet fail!");
|
||||
if(pDlg->Execute() && pDlg->GetOutputItemSet())
|
||||
if(pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet())
|
||||
{
|
||||
//local variable necessary at least after call of .AutoCaption() because this could be deleted at this point
|
||||
SwWrtShell& rShell = GetShell();
|
||||
|
|
Loading…
Reference in a new issue