summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/formdlg/formula.cxx5
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();