[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jul 29 11:47:49 UTC 2018


 cui/source/tabpages/tptrans.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit d4f1942c1e4740e538fa332925e52a8b94492dfa
Author:     Muhammet Kara <muhammet.kara at pardus.org.tr>
AuthorDate: Sun Jul 29 13:12:48 2018 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jul 29 13:47:27 2018 +0200

    Merge identical switch cases in SvxTransparenceTabPage
    
    Change-Id: I463a947de16fee3b361a429c7dc3ef69bd507617
    Reviewed-on: https://gerrit.libreoffice.org/58268
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx
index f75416c0c94b..d0799155c98a 100644
--- a/cui/source/tabpages/tptrans.cxx
+++ b/cui/source/tabpages/tptrans.cxx
@@ -186,14 +186,6 @@ void SvxTransparenceTabPage::SetControlState_Impl(css::awt::GradientStyle eXGS)
             break;
 
         case css::awt::GradientStyle_ELLIPTICAL:
-            m_xFtTrgrCenterX->set_sensitive(true);
-            m_xMtrTrgrCenterX->set_sensitive(true);
-            m_xFtTrgrCenterY->set_sensitive(true);
-            m_xMtrTrgrCenterY->set_sensitive(true);
-            m_xFtTrgrAngle->set_sensitive(true);
-            m_xMtrTrgrAngle->set_sensitive(true);
-            break;
-
         case css::awt::GradientStyle_SQUARE:
         case css::awt::GradientStyle_RECT:
             m_xFtTrgrCenterX->set_sensitive(true);


More information about the Libreoffice-commits mailing list