From b79fa59df33da81daf119a61d6dffdae232baf82 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 30 May 2018 15:19:16 +0200 Subject: remove cargo cult OSL_ENSURE(pFact, "ScAbstractFactory create fail!"( Possibly this was useful once upon a time, but now it's just noise. If it failed, we're going to crash on the next line when we call a method on that pointer anyway. Change-Id: Ic601f0c3344f6895f8a6ffb3bc6f8bcb45d00a92 Reviewed-on: https://gerrit.libreoffice.org/55082 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/source/ui/dlg/dlgpage.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'reportdesign/source') diff --git a/reportdesign/source/ui/dlg/dlgpage.cxx b/reportdesign/source/ui/dlg/dlgpage.cxx index 26bae5a4faff..fa2a38ff9da0 100644 --- a/reportdesign/source/ui/dlg/dlgpage.cxx +++ b/reportdesign/source/ui/dlg/dlgpage.cxx @@ -43,7 +43,6 @@ ORptPageDialog::ORptPageDialog( vcl::Window* pParent, const SfxItemSet* pAttr, c , m_nCharBgdId(0) { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - assert(pFact && "Dialog creation failed!"); if (rDialog == "BackgroundDialog") { -- cgit