diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-12 08:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 12:53:38 +0200 |
commit | 6eba86ae9d6c8550e069ef933889610aee309381 (patch) | |
tree | a9b278f2d124c1db1261bc5128516fff3ea89919 /sd | |
parent | afed3d177b8bfbc98d631867f200486bc2963e03 (diff) |
clang-tidy misc-redundant-expression
Change-Id: I708b0b486a233071f95592ccdb97f27fc35a23c4
Reviewed-on: https://gerrit.libreoffice.org/61783
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index a18a6049059d..ebc67bcd8a81 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -2214,7 +2214,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) { sal_uInt16 nDepth = pOL->GetDepth(aSel.nEndPara); //there exists a previous numbering level - if (nDepth != sal_uInt16(-1) && nDepth < 8) + if (nDepth < 8) { sal_uInt16 nNewDepth = nDepth+1; pOL->Insert(SdResId(STR_PRESOBJ_MPOUTLINE_ARY[nNewDepth]), EE_PARA_APPEND, nNewDepth); |