summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 86bdf100a73e..b9d4a4372f15 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -175,6 +175,7 @@ OUString lcl_getFormatCommandForObjectCID( std::u16string_view rCID )
aDispatchCommand = ".uno:FormatTitle";
break;
case OBJECTTYPE_LEGEND_ENTRY:
+ case OBJECTTYPE_DATA_SERIES:
aDispatchCommand = ".uno:FormatDataSeries";
break;
case OBJECTTYPE_AXIS:
@@ -190,9 +191,6 @@ OUString lcl_getFormatCommandForObjectCID( std::u16string_view rCID )
case OBJECTTYPE_DATA_LABELS:
aDispatchCommand = ".uno:FormatDataLabels";
break;
- case OBJECTTYPE_DATA_SERIES:
- aDispatchCommand = ".uno:FormatDataSeries";
- break;
case OBJECTTYPE_DATA_LABEL:
aDispatchCommand = ".uno:FormatDataLabel";
break;