vcl/opengl/win/gdiimpl.cxx | 11 ----------- 1 file changed, 11 deletions(-)
New commits: commit 962b2bdf9d32134fc657a21b6843aee3cabd8f6e Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Dec 9 08:23:07 2020 +0100 Commit: Stephan Bergmann <sberg...@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 <sberg...@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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits