diff options
author | Bogdan Buzea <buzea.bogdan@libreoffice.org> | 2024-10-21 16:18:30 +0200 |
---|---|---|
committer | David Gilbert <freedesktop@treblig.org> | 2024-10-30 01:23:00 +0100 |
commit | 9a23cce372741b08cb8819cf9c71f1cae567c7c4 (patch) | |
tree | e146ccfc7954344931ebfa0c00a0c4548638b673 /sd | |
parent | fc2e8daa4bdcac9ce79400269baee8e3d59f9e3d (diff) |
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 718, 724
Change-Id: Id39e264626634ab4288e41bd6d72303a3820a10d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175319
Reviewed-by: David Gilbert <freedesktop@treblig.org>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/MasterPageContainer.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index f762144cecce..e34d979b243d 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -715,11 +715,6 @@ Image MasterPageContainer::Implementation::GetPreviewForToken ( break; case PS_PREPARING: - aPreview = GetPreviewSubstitution( - STR_TASKPANEL_PREPARING_PREVIEW_SUBSTITUTION, - ePreviewSize); - break; - case PS_CREATABLE: aPreview = GetPreviewSubstitution( STR_TASKPANEL_PREPARING_PREVIEW_SUBSTITUTION, |