summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog/wordcountwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dialog/wordcountwrapper.cxx')
-rw-r--r--sw/source/uibase/dialog/wordcountwrapper.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/dialog/wordcountwrapper.cxx b/sw/source/uibase/dialog/wordcountwrapper.cxx
index 9d353d223ca2..090410509a0d 100644
--- a/sw/source/uibase/dialog/wordcountwrapper.cxx
+++ b/sw/source/uibase/dialog/wordcountwrapper.cxx
@@ -21,9 +21,7 @@ SwWordCountWrapper::SwWordCountWrapper( vcl::Window *pParentWindow,
SfxChildWindow(pParentWindow, nId)
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- assert(pFact && "SwAbstractDialogFactory fail!");
xAbstDlg.reset(pFact->CreateSwWordCountDialog(pBindings, this, pParentWindow, pInfo));
- assert(xAbstDlg && "Dialog construction failed!");
SetWindow(xAbstDlg->GetWindow());
}