[Libreoffice-commits] core.git: vcl/opengl

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 9 08:34:50 UTC 2020


 vcl/opengl/win/gdiimpl.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 962b2bdf9d32134fc657a21b6843aee3cabd8f6e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Dec 9 08:23:07 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Dec 9 09:34:06 2020 +0100

    loplugin:unreffun (clang-cl)
    
    ...since db89f53c31af997b9bf422b0e784afba8d62a42e "remove OpenGL VCL backend
    code"
    
    Change-Id: Ia6257502a97a4d3f0283e32529ab9554db2a932c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107451
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 5c2d55a06585..454faf61bd9d 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -50,7 +50,6 @@ namespace {
 class WinOpenGLContext : public OpenGLContext
 {
 public:
-    bool init( HDC hDC, HWND hWnd );
     virtual void initWindow() override;
 private:
     GLWinWindow m_aGLWin;
@@ -135,16 +134,6 @@ void WinOpenGLContext::makeCurrent()
     registerAsCurrent();
 }
 
-bool WinOpenGLContext::init(HDC hDC, HWND hWnd)
-{
-    if (isInitialized())
-        return true;
-
-    m_aGLWin.hDC = hDC;
-    m_aGLWin.hWnd = hWnd;
-    return ImplInit();
-}
-
 void WinOpenGLContext::initWindow()
 {
     if( !m_pChildWindow )


More information about the Libreoffice-commits mailing list