From d8a15e74da7d7266992db0fe13d6f3189898ea61 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 23 Mar 2016 00:11:52 +0100 Subject: missing nullptr check, tdf#98427 Change-Id: I657dc0c84eab6ff5b31976fac3317adc0a99dd51 --- formula/source/ui/dlg/formula.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index c9fd5b8e9397..77a30d11ffc5 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -590,7 +590,7 @@ bool FormulaDlg_Impl::CalcValue( const OUString& rStrExp, OUString& rStrResult, void FormulaDlg_Impl::UpdateValues( bool bForceRecalcStruct ) { OUString aStrResult; - if ( CalcValue( pFuncDesc->getFormula( m_aArguments ), aStrResult ) ) + if ( pFuncDesc && CalcValue( pFuncDesc->getFormula( m_aArguments ), aStrResult ) ) m_pWndResult->SetText( aStrResult ); if (bMakingTree) return; -- cgit