sd/source/ui/sidebar/MasterPageContainer.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 9a23cce372741b08cb8819cf9c71f1cae567c7c4 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Mon Oct 21 16:18:30 2024 +0200 Commit: David Gilbert <freedesk...@treblig.org> CommitDate: Wed Oct 30 01:23:00 2024 +0100 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 <freedesk...@treblig.org> Tested-by: Jenkins 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,