[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - chart2/source

Stephan Bergmann sbergman at redhat.com
Fri May 13 08:10:11 UTC 2016


 chart2/source/controller/main/ChartController.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 47a631ad96ea1064202280968abfa0d9a292994d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 10 17:39:13 2016 +0200

    Missing break in switch
    
    First 749a0845500d69f99bf1901bab82361f67b5e4f6 "don't show area and line panel
    in pie chart Chart selection, tdf#94320" added the case OBJECTTYPE_DIAGRAM
    falling through to the default break case.  Then
    14237c1678167da725fee079532c4669264d697f "use trendline context for trendlines,
    tdf#94931, tdf#94934" added the case OBJECTTYPE_DATA_CURVE,
    OBJECTTYPE_DATA_AVERAGE_LINE block in between.
    
    Change-Id: I9d06b5054128c4a31381e33620f4a2b898e0e969
    (cherry picked from commit ca6c108caaeca5c8176164fcad70ae7a77865892)
    Reviewed-on: https://gerrit.libreoffice.org/24918
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index e969b51..12195e0 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -334,6 +334,7 @@ OUString ChartController::GetContextName()
         case OBJECTTYPE_DIAGRAM:
             if (xChartType->getChartType() == "com.sun.star.chart2.PieChartType")
                 return OUString("ChartElements");
+            break;
         case OBJECTTYPE_DATA_CURVE:
         case OBJECTTYPE_DATA_AVERAGE_LINE:
             return OUString("Trendline");


More information about the Libreoffice-commits mailing list