From 20bb2e707481135440b2c905fb234c5ba54d5041 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 2 Jun 2015 09:01:58 +0200 Subject: GL3D Bar chart -> experimental Change-Id: I2d5948651e5c31a6ce3cadcc9ff09683a60d49bd Reviewed-on: https://gerrit.libreoffice.org/16022 Tested-by: Jenkins Reviewed-by: Andras Timar --- chart2/source/controller/dialogs/tp_ChartType.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 5a13c68988fa..75e872c5aa0f 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -765,7 +766,9 @@ ChartTypeTabPage::ChartTypeTabPage(vcl::Window* pParent } m_aChartTypeDialogControllerList.push_back(new CombiColumnLineChartDialogController() ); #if ENABLE_GL3D_BARCHART - m_aChartTypeDialogControllerList.push_back(new GL3DBarChartDialogController()); + SvtMiscOptions aOpts; + if ( aOpts.IsExperimentalMode() ) + m_aChartTypeDialogControllerList.push_back(new GL3DBarChartDialogController()); #endif ::std::vector< ChartTypeDialogController* >::const_iterator aIter = m_aChartTypeDialogControllerList.begin(); -- cgit