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

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Nov 7 18:56:54 UTC 2016


 cui/source/tabpages/tparea.cxx |   15 ---------------
 1 file changed, 15 deletions(-)

New commits:
commit f01c49c4a89ecad2376fd0023625186e5cac642e
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Nov 7 16:38:42 2016 +0100

    style fix for cppcheck duplicateBreak
    
    Change-Id: I42d4763db5a87741baa6b6d5ec58ea136394bf7a
    Reviewed-on: https://gerrit.libreoffice.org/30670
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 0724505..773d668 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -200,30 +200,15 @@ DeactivateRC SvxAreaTabPage::DeactivatePage( SfxItemSet* _pSet )
     switch( eFillType )
     {
         case SOLID:
-        {
             return DeactivatePage_Impl<SvxColorTabPage>(_pSet);
-            break;
-        }
         case GRADIENT:
-        {
             return DeactivatePage_Impl<SvxGradientTabPage>(_pSet);
-            break;
-        }
         case HATCH:
-        {
             return DeactivatePage_Impl<SvxHatchTabPage>(_pSet);
-            break;
-        }
         case BITMAP:
-        {
             return DeactivatePage_Impl<SvxBitmapTabPage&>(_pSet);
-            break;
-        }
         case PATTERN:
-        {
             return DeactivatePage_Impl<SvxPatternTabPage>(_pSet);
-            break;
-        }
         default:
             break;
     }


More information about the Libreoffice-commits mailing list