svx/source/sidebar/paragraph/ParaPropertyPanel.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 6bd9f1f93301756bdc6fa57911d163e9fa5ad313
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 11:31:53 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Fri Nov 1 02:16:15 2024 +0100

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 78, 
91
    
    Change-Id: I912657b129f90f03bbbb9d47d0d954db2c6c5e08
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175307
    Reviewed-by: David Gilbert <freedesk...@treblig.org>
    Tested-by: Jenkins

diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx 
b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index b7c70389aa1f..269946d8f852 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -75,14 +75,6 @@ void ParaPropertyPanel::HandleContextChange (
     {
         case CombinedEnumContext(Application::Calc, Context::DrawText):
         case CombinedEnumContext(Application::WriterVariants, 
Context::DrawText):
-            mxTBxVertAlign->show();
-            mxTBxBackColor->hide();
-            mxTBxNumBullet->hide();
-            set_hyphenation_base_visible(false);
-            set_hyphenation_other_visible(false);
-            ReSize();
-            break;
-
         case CombinedEnumContext(Application::DrawImpress, Context::Draw):
         case CombinedEnumContext(Application::DrawImpress, 
Context::TextObject):
         case CombinedEnumContext(Application::DrawImpress, Context::Graphic):

Reply via email to