summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 14:24:11 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:31 +0200
commit24a1e29d6c0a5196da72f7eda31596ef34a0b5f8 (patch)
tree85f1cf1b2a4a6c4b3614e58234ecb22efd8c03cc /sw
parent2e6ba083bf188478c7033bcf5831727c0d97b3d5 (diff)
cid#705915 dereference before null check
Change-Id: I1bd65e4beb99ff816be958d8ee345ee9937f6488
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docfmt.cxx2
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 );