diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-23 00:11:52 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-23 00:13:41 +0100 |
commit | d8a15e74da7d7266992db0fe13d6f3189898ea61 (patch) | |
tree | 7965299ce221027e67a43b8bf123bdafcdd998b3 /formula | |
parent | 524df0cc563bfe9e22c505d369c12303e2273df7 (diff) |
missing nullptr check, tdf#98427
Change-Id: I657dc0c84eab6ff5b31976fac3317adc0a99dd51
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |