chart2/source/view/main/ChartView.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit b056d3d0bedcb23786841c89d3029df37da0ba3e Author: Zolnai Tamás <tamas.zol...@collabora.com> Date: Mon Aug 25 19:03:27 2014 +0200 Revert "Stop flickering in rendering of charts in Writer" Hide when it's actually a normal chart. This reverts commit b79b862927d937d695b31df4bdb85d1fc8774f39. Change-Id: Ib7aee142cea979293864f3916eb0580a82605b2b diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 07e6c281..8665d45 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2496,6 +2496,11 @@ void ChartView::createShapes() else { m_pGL3DPlotter.reset(); + + // hide OpenGL window for now in normal charts + OpenGLWindow* pWindow = mrChartModel.getOpenGLWindow(); + if(pWindow && !getenv("CHART_DUMMY_FACTORY")) + pWindow->Show(false); } #endif
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits