summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.cxx5
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();