diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-25 22:50:02 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-25 22:50:50 -0400 |
commit | 86090ef2fb4ea06f687d9e4474b8bdfda6eb6871 (patch) | |
tree | 8472a7b3fb1a3e74dbc17fc88dbea135f326115c /chart2 | |
parent | 44fc32edcddc7f290e3e5162be9a80917c499ade (diff) |
Make the new OpenGL chart type a compile time option.
And it's disabled for now.
Change-Id: I9a513d757960b61e7b2d6009eabf97a75b6c453e
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_ChartType.cxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/macros.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 0a10bae73da0..3a880ec30b79 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -727,7 +727,9 @@ ChartTypeTabPage::ChartTypeTabPage(Window* pParent m_aChartTypeDialogControllerList.push_back(new StockChartDialogController() ); } m_aChartTypeDialogControllerList.push_back(new CombiColumnLineChartDialogController() ); +#if ENABLE_GL3D_BARCHART m_aChartTypeDialogControllerList.push_back(new GL3DBarChartDialogController()); +#endif ::std::vector< ChartTypeDialogController* >::const_iterator aIter = m_aChartTypeDialogControllerList.begin(); const ::std::vector< ChartTypeDialogController* >::const_iterator aEnd = m_aChartTypeDialogControllerList.end(); diff --git a/chart2/source/inc/macros.hxx b/chart2/source/inc/macros.hxx index daf66c45b9a2..21e59117c79d 100644 --- a/chart2/source/inc/macros.hxx +++ b/chart2/source/inc/macros.hxx @@ -30,6 +30,8 @@ typeid( ex ).name() << ", Message: " << \ ex.Message ) +#define ENABLE_GL3D_BARCHART 0 + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |