diff options
author | Bogdan Buzea <buzea.bogdan@libreoffice.org> | 2024-10-22 20:01:25 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-10-25 12:00:09 +0200 |
commit | 973d0f0bb5f8a166b0e545d0151444fcb201ba57 (patch) | |
tree | 8a30d7bf742478253666aa24a190dac52d699b49 /sd | |
parent | 9a1336e81c84c3386658eff25da34eca7fd86b77 (diff) |
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 282, 296
Change-Id: Ie74d4b31246ba279ad7e1e585036b1b06ad3fabe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175424
Reviewed-by: Jack Honour <JaxkDev@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index b26d634898b5..f770fe0c4d08 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -278,11 +278,6 @@ void FuConstruct3dObject::ImpPrepareBasic3DShape(E3dCompoundObject const * p3DOb } break; - case SID_3D_SPHERE: - { - } - break; - case SID_3D_SHELL: case SID_3D_HALF_SPHERE: { @@ -290,6 +285,7 @@ void FuConstruct3dObject::ImpPrepareBasic3DShape(E3dCompoundObject const * p3DOb } break; + case SID_3D_SPHERE: case SID_3D_CYLINDER: case SID_3D_CONE: case SID_3D_PYRAMID: |