[Libreoffice-commits] core.git: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jul 29 11:48:18 UTC 2018
cui/source/tabpages/labdlg.cxx | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit 5c9a860dd219603af4e6b3de25ce9d07366fb63d
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
AuthorDate: Sun Jul 29 13:03:26 2018 +0300
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jul 29 13:47:56 2018 +0200
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 at collabora.co.uk>
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();
More information about the Libreoffice-commits
mailing list