diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-04 21:30:56 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-05 07:20:29 +0100 |
commit | b5d7f596f26e3e086a6584fe69a8bbcc9c51d0bd (patch) | |
tree | 0cc3a52fca4180c21872f11ea0a5d2aff11b3b77 /sd | |
parent | 9e9e08dae1abe90d7c4d81d22065f31e5b948435 (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: I4b48dddeaabf6b321196b537bb7aa55a89ab8fe3
Reviewed-on: https://gerrit.libreoffice.org/62863
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 544785643416..c2b3576dbfce 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1474,8 +1474,7 @@ void OutlineView::UpdateDocument() mrOutlineViewShell.UpdateTitleObject( pPage, pPara ); mrOutlineViewShell.UpdateOutlineObject( pPage, pPara ); - if( pPara ) - pPara = GetNextTitle(pPara); + pPara = GetNextTitle(pPara); } } |