diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-23 00:11:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-03-29 13:49:23 +0000 |
commit | dc74d07b608bfed0df587790e8ca7a29931d96c1 (patch) | |
tree | 75cf39b1e1b3450e1254ea5d246dcec4c98be4f2 /formula | |
parent | ba51ea100176ec862370a559969a1e12afc7e656 (diff) |
missing nullptr check, tdf#98427
Change-Id: I657dc0c84eab6ff5b31976fac3317adc0a99dd51
Reviewed-on: https://gerrit.libreoffice.org/23487
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
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 1cf839d12eb3..5ae6e48825cc 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; |