[Libreoffice-commits] core.git: Branch 'feature/chart-3d-chart2' - vcl/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Wed May 28 08:47:14 PDT 2014


 vcl/source/window/openglwin.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit a1e1c477ba4baf4a4f0c3b55f478533c030e8562
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Wed May 28 17:41:14 2014 +0200

    fix build error
    
    Change-Id: I550616e1f6e63ac42103756014b1aa26cee5c21f

diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index 68eac16..0300987 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -24,9 +24,9 @@ private:
 OpenGLWindowImpl::OpenGLWindowImpl(Window* pWindow):
     mpChildWindow(new SystemChildWindow(pWindow))
 {
+    mpChildWindow->Show();
     maContext.init(mpChildWindow.get());
     pWindow->SetMouseTransparent(false);
-    maContext.show();
 }
 
 OpenGLContext* OpenGLWindowImpl::getContext()
@@ -60,7 +60,6 @@ void OpenGLWindow::Paint(const Rectangle&)
 
 void OpenGLWindow::MouseButtonDown( const MouseEvent& rMEvt )
 {
-    getContext()->show();
     maStartPoint = rMEvt.GetPosPixel();
 }
 


More information about the Libreoffice-commits mailing list