From f5376d87d7f44d146134fa104baeb1cda168ed56 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 17 May 2014 07:09:50 +0200 Subject: [PATCH] prevent access to uninitialized variables Change-Id: I1a12e2453ec935dc642135c30a36e1a97fc3d0f9 --- chart2/source/view/charttypes/GL3DBarChart.cxx | 2 ++ 1 file changed, 2 insertions(+) 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(); }