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(); }