From 5c9a860dd219603af4e6b3de25ce9d07366fb63d Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Sun, 29 Jul 2018 13:03:26 +0300 Subject: Merge identical switch cases in SvxCaptionTabPage Change-Id: I515c64191d7a9defc3e175c18d8be1f198e03160 Reviewed-on: https://gerrit.libreoffice.org/58267 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/tabpages/labdlg.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cui/source') diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index 2425b08b68af..946528e44ae5 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -461,11 +461,6 @@ void SvxCaptionTabPage::SetupType_Impl( SdrCaptionType nType ) switch( nType ) { case SdrCaptionType::Type1: - m_pFT_LAENGE->Disable(); - m_pCB_LAENGE->Disable(); - LineOptHdl_Impl( m_pCB_LAENGE ); - break; - case SdrCaptionType::Type2: m_pFT_LAENGE->Disable(); m_pCB_LAENGE->Disable(); @@ -473,11 +468,6 @@ void SvxCaptionTabPage::SetupType_Impl( SdrCaptionType nType ) break; case SdrCaptionType::Type3: - m_pFT_LAENGE->Enable(); - m_pCB_LAENGE->Enable(); - LineOptHdl_Impl( m_pCB_LAENGE ); - break; - case SdrCaptionType::Type4: m_pFT_LAENGE->Enable(); m_pCB_LAENGE->Enable(); -- cgit