diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 09:32:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:53:08 +0000 |
commit | 819cc6431878302717442b141415c08d8bf4493a (patch) | |
tree | 4e08f011d03048fe24740a311d8a74d655cc32ef /formula | |
parent | 21cea08139adf20fe86f5bc5724e9e22d7a627b4 (diff) |
coverity#735751 Dereference after null check
Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 085242f42b6e..86100c4daaf1 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -291,8 +291,7 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent pMEdit = aMEFormula.GetEdit(); aMEFormula.SetAccessibleName(aFtFormula.GetText()); - if (pMEdit) - pMEdit->SetAccessibleName(aFtFormula.GetText()); + pMEdit->SetAccessibleName(aFtFormula.GetText()); m_aEditHelpId = pMEdit->GetHelpId(); pMEdit->SetUniqueId( m_aEditHelpId ); |