summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2018-07-29 13:03:26 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-29 13:47:56 +0200
commit5c9a860dd219603af4e6b3de25ce9d07366fb63d (patch)
treedc11c7a389d0fd27337b1fb85ffeb43a1afc6b48 /cui
parentd4f1942c1e4740e538fa332925e52a8b94492dfa (diff)
Merge identical switch cases in SvxCaptionTabPage
Change-Id: I515c64191d7a9defc3e175c18d8be1f198e03160 Reviewed-on: https://gerrit.libreoffice.org/58267 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/labdlg.cxx10
1 files changed, 0 insertions, 10 deletions
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();