diff options
-rw-r--r-- | sc/source/ui/formdlg/formula.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index d71351840b85..784281c57185 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -96,10 +96,9 @@ ScFormulaDlg::ScFormulaDlg(SfxBindings* pB, SfxChildWindow* pCW, ScInputHandler* pInputHdl = SC_MOD()->GetInputHdl(m_pViewShell); - OSL_ENSURE( pInputHdl, "Missing input handler :-/" ); + assert(pInputHdl && "Missing input handler :-/"); - if ( pInputHdl ) - pInputHdl->NotifyChange( nullptr ); + pInputHdl->NotifyChange( nullptr ); ScFormulaReferenceHelper::enableInput( true ); ScFormulaReferenceHelper::EnableSpreadsheets(); |