diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-13 05:38:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-13 05:39:09 +0200 |
commit | 876a54067cf9c70c1462c6694591365a863363bd (patch) | |
tree | d693a5247b7e88c003b25602cb7482872f3a5c89 /chart2/source/view | |
parent | 15e2c82acb60a2f9916f55a144299f64513fdde0 (diff) |
a better place to show the window
Now the first repaint will already draw on the window and we never see
the grey background.
Change-Id: Ibf44a77b5768979f9081b4f80f6f0a73e5023437
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 6c5d7251d74e..ff07ecd84974 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -3119,6 +3119,7 @@ void ChartView::createShapes3D() if(!pWindow) return; + pWindow->Show(); uno::Reference< XDiagram > xDiagram( mrChartModel.getFirstDiagram() ); uno::Reference< XCoordinateSystemContainer > xCooSysContainer( xDiagram, uno::UNO_QUERY ); if( !xCooSysContainer.is()) @@ -3175,7 +3176,6 @@ void ChartView::createShapes3D() m_pGL3DPlotter->create3DShapes(aDataSeries, *pCatProvider); m_pGL3DPlotter->render(); - pWindow->Show(); } } //namespace chart |