diff options
Diffstat (limited to 'editeng/source/outliner/outliner.cxx')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index f2217eb57770..f76a5f88b67e 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -1438,10 +1438,10 @@ const SvxNumberFormat* Outliner::GetNumberFormat( sal_uInt16 nPara ) const const SvxNumberFormat* pFmt = NULL; Paragraph* pPara = pParaList->GetParagraph( nPara ); - if (pPara == NULL) + if (!pPara) return NULL; - sal_Int16 nDepth = pPara? pPara->GetDepth() : -1; + sal_Int16 nDepth = pPara->GetDepth(); if( nDepth >= 0 ) { |