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

Stephan Bergmann sbergman at redhat.com
Tue May 10 15:42:01 UTC 2016


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

New commits:
commit ca6c108caaeca5c8176164fcad70ae7a77865892
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

diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 252698e..5085223 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -332,6 +332,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