diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-08-25 21:47:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-29 17:40:35 +0200 |
commit | f61e453f8463fcc02629b1e8cdfeb73a3a932307 (patch) | |
tree | 6e8fffa2e97c6b09fde4c02b8f6875c91e2da5ea /chart2/source/model | |
parent | 5d622c55ef776f31ec8a0a5dfcbbadd03c35e5a1 (diff) |
the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl charts
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index ed0d24e0b2ff..a3d97c243482 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -32,6 +32,7 @@ #include "NameContainer.hxx" #include "UndoManager.hxx" #include "ChartView.hxx" +#include "GL3DHelper.hxx" #include <vcl/openglwin.hxx> @@ -964,6 +965,12 @@ void SAL_CALL ChartModel::createDefaultChart() insertDefaultChart(); } +sal_Bool SAL_CALL ChartModel::isOpenGLChart() + throw (css::uno::RuntimeException, std::exception) +{ + return GL3DHelper::isGL3DDiagram(m_xDiagram); +} + // ____ XTitled ____ uno::Reference< chart2::XTitle > SAL_CALL ChartModel::getTitleObject() throw (uno::RuntimeException, std::exception) |