diff options
Diffstat (limited to 'sw/source/uibase/shells/textfld.cxx')
-rw-r--r-- | sw/source/uibase/shells/textfld.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx index d5d68916c371..96ba6359a6ef 100644 --- a/sw/source/uibase/shells/textfld.cxx +++ b/sw/source/uibase/shells/textfld.cxx @@ -151,7 +151,6 @@ void SwTextShell::ExecField(SfxRequest &rReq) assert(pFact && "SwAbstractDialogFactory fail!"); ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSwFieldEditDlg( GetView() )); - assert(pDlg && "Dialog creation failed!"); pDlg->Execute(); } } @@ -546,9 +545,7 @@ void SwTextShell::ExecField(SfxRequest &rReq) bool bTravel = false; SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - assert(pFact && "Dialog creation failed!"); ::DialogGetRanges fnGetRange = pFact->GetDialogGetRangesFunc(); - assert(fnGetRange && "Dialog creation failed! GetRanges()"); SfxItemSet aSet(GetPool(), fnGetRange()); aSet.Put(SvxPostItTextItem(sComment, SID_ATTR_POSTIT_TEXT)); aSet.Put(SvxPostItAuthorItem(pRedline->GetAuthorString(), SID_ATTR_POSTIT_AUTHOR)); @@ -591,9 +588,7 @@ void SwTextShell::ExecField(SfxRequest &rReq) bTravel |= bNext || bPrev; SvxAbstractDialogFactory* pFact2 = SvxAbstractDialogFactory::Create(); - assert(pFact2 && "Dialog creation failed!"); ScopedVclPtr<AbstractSvxPostItDialog> pDlg(pFact2->CreateSvxPostItDialog(GetView().GetFrameWeld(), aSet, bTravel)); - assert(pDlg && "Dialog creation failed!"); pDlg->HideAuthor(); pDlg->SetText(lcl_BuildTitleWithRedline(pRedline)); @@ -650,9 +645,7 @@ void SwTextShell::ExecField(SfxRequest &rReq) else { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); - assert(pFact && "Dialog creation failed!"); ScopedVclPtr<AbstractJavaEditDialog> pDlg(pFact->CreateJavaEditDialog(GetView().GetFrameWeld(), &rSh)); - assert(pDlg && "Dialog creation failed!"); if ( pDlg->Execute() ) { aType = pDlg->GetScriptType(); |