diff options
Diffstat (limited to 'sw/source/uibase/shells/annotsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 06be285e36f2..f105072c0443 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -485,7 +485,6 @@ void SwAnnotationShell::Exec( SfxRequest &rReq ) OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateSwCharDlg( rView.GetWindow(), rView, aDlgAttr, SwCharDlgMode::Ann)); - OSL_ENSURE(pDlg, "Dialog creation failed!"); if (nSlot == SID_CHAR_DLG_EFFECT) { pDlg->SetCurPageId("fonteffects"); @@ -537,7 +536,6 @@ void SwAnnotationShell::Exec( SfxRequest &rReq ) OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateSwParaDlg( rView.GetWindow(), rView, aDlgAttr, true )); - OSL_ENSURE(pDlg, "Dialog creation failed!"); sal_uInt16 nRet = pDlg->Execute(); if(RET_OK == nRet) { |