missing nullptr check, tdf#98427

Change-Id: I657dc0c84eab6ff5b31976fac3317adc0a99dd51
This commit is contained in:
Markus Mohrhard
2016-03-23 00:11:52 +01:00
parent 524df0cc56
commit d8a15e74da

View File

@@ -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;