diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-14 14:24:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-17 14:04:31 +0200 |
commit | 24a1e29d6c0a5196da72f7eda31596ef34a0b5f8 (patch) | |
tree | 85f1cf1b2a4a6c4b3614e58234ecb22efd8c03cc /sw/source | |
parent | 2e6ba083bf188478c7033bcf5831727c0d97b3d5 (diff) |
cid#705915 dereference before null check
Change-Id: I1bd65e4beb99ff816be958d8ee345ee9937f6488
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 8040a843565f..3e67f03352ba 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -1695,7 +1695,7 @@ static bool lcl_SetTxtFmtColl( const SwNodePtr& rpNode, void* pArgs ) SwTxtFmtColl* pFmt = static_cast<SwTxtFmtColl*>(pPara->pFmtColl); if ( pPara->bReset ) { - if( pFmt->GetAttrOutlineLevel() == 0 && pPara ) + if( pFmt->GetAttrOutlineLevel() == 0 ) pPara->bKeepOutlineLevelAttr = true; lcl_RstAttr( pCNd, pPara ); |