[Libreoffice-commits] core.git: chart2/source officecfg/registry
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Oct 10 06:25:21 PDT 2015
chart2/source/controller/main/ChartController.cxx | 3 +++
officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 1 +
2 files changed, 4 insertions(+)
New commits:
commit 14237c1678167da725fee079532c4669264d697f
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Oct 10 15:23:05 2015 +0200
use trendline context for trendlines, tdf#94931, tdf#94934
Change-Id: I0cb9cdec33924e560b24744cc78d632025a189fc
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 754bc07..d6674cf 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -336,6 +336,9 @@ OUString ChartController::GetContextName()
case OBJECTTYPE_DIAGRAM:
if (xChartType->getChartType() == "com.sun.star.chart2.PieChartType")
return OUString("ChartElements");
+ case OBJECTTYPE_DATA_CURVE:
+ case OBJECTTYPE_DATA_AVERAGE_LINE:
+ return OUString("Trendline");
default:
break;
}
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index ecfd7d3..d933003 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -1312,6 +1312,7 @@
Chart, ErrorBar, visible ;
Chart, Axis, visible ;
Chart, Grid, visible ;
+ Chart, Trendline, visible ;
</value>
</prop>
<prop oor:name="ImplementationURL" oor:type="xs:string">
More information about the Libreoffice-commits
mailing list