diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-17 07:09:50 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-17 09:12:00 +0200 |
commit | f5376d87d7f44d146134fa104baeb1cda168ed56 (patch) | |
tree | 9bae2163187fb6888f8d570df2113ad60a94db7d /chart2 | |
parent | f89296db5959cf009668f8aad85cfd860b9252ee (diff) |
prevent access to uninitialized variables
Change-Id: I1a12e2453ec935dc642135c30a36e1a97fc3d0f9
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 9921d9607026..165366816639 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -31,6 +31,8 @@ GL3DBarChart::GL3DBarChart( mrWindow(rWindow), mpCamera(NULL) { + Size aSize = mrWindow.GetSizePixel(); + mpRenderer->SetSize(aSize); mrWindow.setRenderer(this); mpRenderer->init(); } |