editeng/source/outliner/outliner.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 549030d96add56117bc35198d1303c059a8da21b Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Mar 23 16:58:37 2013 +0100 coverity#704226 Logically dead code Change-Id: I24e55bea6070ce1113c5b64902dbd41c7827f91d diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index f2217eb..f76a5f8 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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits