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

Markus Mohrhard markus.mohrhard at collabora.co.uk
Sun Jan 12 16:20:55 PST 2014


 chart2/source/view/main/OpenGLRender.cxx |    4 ----
 chart2/source/view/main/OpenGLRender.hxx |    4 ----
 2 files changed, 8 deletions(-)

New commits:
commit b7f42c2acd834f2326f80a8de9da03fcd9192c4b
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Mon Jan 13 01:15:52 2014 +0100

    another two unused variables
    
    Change-Id: Ib6fdcd8a541f98e3e7a3e1cb7407bb497a104914

diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index 33d1754..9559498 100644
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -909,10 +909,6 @@ void OpenGLRender::Release()
     glDeleteRenderbuffers(1, &m_RboID);
 #if defined( WNT )
     wglMakeCurrent(NULL, NULL);
-    if (!m_iExternRC)
-        wglDeleteContext(glWin.hRC);
-    if (!m_iExternDC)
-        ReleaseDC(glWin.hWnd, glWin.hDC);
 #elif defined( UNX )
 
     glXMakeCurrent(glWin.dpy, None, NULL);
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx
index 4e7de03..5a28644 100644
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -248,10 +248,6 @@ private:
 
     GLWindow glWin;
 
-    int m_iExternDC;
-
-    int m_iExternRC;
-
     Line2DPointList m_Line2DPointList;
 
     float m_fLineWidth;


More information about the Libreoffice-commits mailing list