summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-23 18:48:43 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-23 22:19:58 +0200
commitcc827ab81d285156fffb8920cba460703cad789d (patch)
tree531ae206c3e20e4a61b5dad53e49a21db99419dc /chart2/source/model
parentc02e393c7dd55ad6d1f94972543d3c14dd30351f (diff)
Revert "opengl charts: Move the init from sc to chart2 ...
This reverts commit 46cea34638b371570073c0e86f79969753c543ed. Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: Ia29ea6a95b8b9eb870d14538d0cadaa40472582f
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/main/ChartModel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 0fb584b1b0d3..2d2a84860145 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1412,6 +1412,7 @@ void ChartModel::setWindow( const sal_uInt64 nWindowPtr )
{
void* pPtr = (void*)nWindowPtr;
OpenGLWindow* pWindow = reinterpret_cast<OpenGLWindow*>(pPtr);
+ assert(pWindow);
mpOpenGLWindow = pWindow;
}