summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-10 17:39:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-10 17:39:13 +0200
commitca6c108caaeca5c8176164fcad70ae7a77865892 (patch)
treeea064085bed1ecd5ac6f0cf8684e9257b6baeb20 /chart2
parent1d3494b55bc6d89a0ec4ca64a52e354337d937a0 (diff)
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
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 252698eefb09..5085223542aa 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");