diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 14:56:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 14:56:24 +0000 |
commit | 8f91c4ad5d8e967e125c55e9947177493117ee24 (patch) | |
tree | e54779242edb7ff9aa5dd41a6f84042d71cd62a9 /lotuswordpro | |
parent | 2039c2b6bdd6103858af37ff5a8aa9eb88f2b397 (diff) |
coverity#736781 Dereference before null check
Change-Id: Iea5cf576ec5bea21a58a5733950ebacf94802e55
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 12d647b366ef..deff61d8d77d 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -685,7 +685,7 @@ void LwpPara::RegisterStyle() } } - if (pPara && pPara->GetPrevious()) + if (pPara->GetPrevious()) pPrePara = dynamic_cast<LwpPara*>(pPara->GetPrevious()->obj(VO_PARA)); else pPrePara=NULL; |