diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-06-02 09:01:58 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-06-02 08:46:22 +0000 |
commit | 20bb2e707481135440b2c905fb234c5ba54d5041 (patch) | |
tree | 11de367a88d0945c666fa1fbd972cb209819daad /chart2 | |
parent | 7e5c1101cb200f95128ad7dc7d2a5e6bb4489306 (diff) |
GL3D Bar chart -> experimental
Change-Id: I2d5948651e5c31a6ce3cadcc9ff09683a60d49bd
Reviewed-on: https://gerrit.libreoffice.org/16022
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_ChartType.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 <unonames.hxx> #include <svtools/controldims.hrc> +#include <svtools/miscopt.hxx> #include <vcl/layout.hxx> #include <vcl/msgbox.hxx> @@ -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(); |